Skip to content

Commit

Permalink
chore(python): regenerate GNU copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
matejcik committed Nov 29, 2021
1 parent b12dc5b commit 486d8d2
Show file tree
Hide file tree
Showing 76 changed files with 344 additions and 60 deletions.
17 changes: 17 additions & 0 deletions python/helper-scripts/bump-required-fw-versions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
#!/usr/bin/env python3

# This file is part of the Trezor project.
#
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.

import os
from typing import Iterable, List

Expand Down
16 changes: 16 additions & 0 deletions python/helper-scripts/make-options-rst.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
#!/usr/bin/env python3

# This file is part of the Trezor project.
#
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.

import os
from typing import List

Expand Down
16 changes: 16 additions & 0 deletions python/helper-scripts/relicence.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
#!/usr/bin/env python3

# This file is part of the Trezor project.
#
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.

import glob
import os
import sys
Expand Down
17 changes: 17 additions & 0 deletions python/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
#!/usr/bin/env python3

# This file is part of the Trezor project.
#
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.

import os.path
import re

Expand Down
16 changes: 16 additions & 0 deletions python/src/trezorlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.

__version__ = "0.13.0"

# fmt: off
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/_internal/emulator.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
16 changes: 16 additions & 0 deletions python/src/trezorlib/_internal/firmware_headers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.

import struct
from enum import Enum
from hashlib import blake2s
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/binance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/btc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cardano.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/binance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/btc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/cardano.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/cosi.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/crypto.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/debug.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/device.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/eos.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/ethereum.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/fido.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/firmware.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/monero.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/nem.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/ripple.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/stellar.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/tezos.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cli/trezorctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/cosi.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/debuglink.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/device.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/eos.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/ethereum.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
3 changes: 1 addition & 2 deletions python/src/trezorlib/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand All @@ -14,7 +14,6 @@
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.


from typing import TYPE_CHECKING

if TYPE_CHECKING:
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/fido.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down
2 changes: 1 addition & 1 deletion python/src/trezorlib/firmware.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2019 SatoshiLabs and contributors
# Copyright (C) 2012-2022 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
Expand Down

0 comments on commit 486d8d2

Please sign in to comment.