diff --git a/core/tests/test_apps.binance.address.py b/core/tests/test_apps.binance.address.py index c1a9ae9267..59f364f5ec 100644 --- a/core/tests/test_apps.binance.address.py +++ b/core/tests/test_apps.binance.address.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto.curve import secp256k1 diff --git a/core/tests/test_apps.binance.sign_tx.py b/core/tests/test_apps.binance.sign_tx.py index 699d5ead02..9c1e9c35da 100644 --- a/core/tests/test_apps.binance.sign_tx.py +++ b/core/tests/test_apps.binance.sign_tx.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto.curve import secp256k1 diff --git a/core/tests/test_apps.bitcoin.address.py b/core/tests/test_apps.bitcoin.address.py index 1808c3d2aa..ec8d4d4c07 100644 --- a/core/tests/test_apps.bitcoin.address.py +++ b/core/tests/test_apps.bitcoin.address.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import wire diff --git a/core/tests/test_apps.bitcoin.address_grs.py b/core/tests/test_apps.bitcoin.address_grs.py index d4ce761923..724e8f95b8 100644 --- a/core/tests/test_apps.bitcoin.address_grs.py +++ b/core/tests/test_apps.bitcoin.address_grs.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip32, bip39 diff --git a/core/tests/test_apps.bitcoin.keychain.py b/core/tests/test_apps.bitcoin.keychain.py index a232a000ae..85727df560 100644 --- a/core/tests/test_apps.bitcoin.keychain.py +++ b/core/tests/test_apps.bitcoin.keychain.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from storage import cache_common diff --git a/core/tests/test_apps.bitcoin.segwit.bip143.native_p2wpkh.py b/core/tests/test_apps.bitcoin.segwit.bip143.native_p2wpkh.py index ebfb98c6be..b93e765802 100644 --- a/core/tests/test_apps.bitcoin.segwit.bip143.native_p2wpkh.py +++ b/core/tests/test_apps.bitcoin.segwit.bip143.native_p2wpkh.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip39 diff --git a/core/tests/test_apps.bitcoin.segwit.bip143.p2wpkh_in_p2sh.py b/core/tests/test_apps.bitcoin.segwit.bip143.p2wpkh_in_p2sh.py index 7a5457b867..a5fcad4ebb 100644 --- a/core/tests/test_apps.bitcoin.segwit.bip143.p2wpkh_in_p2sh.py +++ b/core/tests/test_apps.bitcoin.segwit.bip143.p2wpkh_in_p2sh.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip39 diff --git a/core/tests/test_apps.bitcoin.segwit.bip341.p2tr.py b/core/tests/test_apps.bitcoin.segwit.bip341.p2tr.py index e234069aaf..bec4b1aa27 100644 --- a/core/tests/test_apps.bitcoin.segwit.bip341.p2tr.py +++ b/core/tests/test_apps.bitcoin.segwit.bip341.p2tr.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.enums import InputScriptType diff --git a/core/tests/test_apps.bitcoin.segwit.signtx.native_p2wpkh.py b/core/tests/test_apps.bitcoin.segwit.signtx.native_p2wpkh.py index c7f0e42cd6..49743b0516 100644 --- a/core/tests/test_apps.bitcoin.segwit.signtx.native_p2wpkh.py +++ b/core/tests/test_apps.bitcoin.segwit.signtx.native_p2wpkh.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import wire diff --git a/core/tests/test_apps.bitcoin.segwit.signtx.native_p2wpkh_grs.py b/core/tests/test_apps.bitcoin.segwit.signtx.native_p2wpkh_grs.py index 6860dd7977..dac240f903 100644 --- a/core/tests/test_apps.bitcoin.segwit.signtx.native_p2wpkh_grs.py +++ b/core/tests/test_apps.bitcoin.segwit.signtx.native_p2wpkh_grs.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip39 diff --git a/core/tests/test_apps.bitcoin.segwit.signtx.p2wpkh_in_p2sh.py b/core/tests/test_apps.bitcoin.segwit.signtx.p2wpkh_in_p2sh.py index 8e0f592871..3187c65ec8 100644 --- a/core/tests/test_apps.bitcoin.segwit.signtx.p2wpkh_in_p2sh.py +++ b/core/tests/test_apps.bitcoin.segwit.signtx.p2wpkh_in_p2sh.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import wire diff --git a/core/tests/test_apps.bitcoin.segwit.signtx.p2wpkh_in_p2sh_grs.py b/core/tests/test_apps.bitcoin.segwit.signtx.p2wpkh_in_p2sh_grs.py index 0abf34cacb..549fa2d04b 100644 --- a/core/tests/test_apps.bitcoin.segwit.signtx.p2wpkh_in_p2sh_grs.py +++ b/core/tests/test_apps.bitcoin.segwit.signtx.p2wpkh_in_p2sh_grs.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip39 diff --git a/core/tests/test_apps.bitcoin.sign_tx.writers.py b/core/tests/test_apps.bitcoin.sign_tx.writers.py index 5a9f951637..f2588bd545 100644 --- a/core/tests/test_apps.bitcoin.sign_tx.writers.py +++ b/core/tests/test_apps.bitcoin.sign_tx.writers.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.enums import InputScriptType diff --git a/core/tests/test_apps.bitcoin.signtx.fee_threshold.py b/core/tests/test_apps.bitcoin.signtx.fee_threshold.py index 9aebc7b07a..9352c63333 100644 --- a/core/tests/test_apps.bitcoin.signtx.fee_threshold.py +++ b/core/tests/test_apps.bitcoin.signtx.fee_threshold.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip39 diff --git a/core/tests/test_apps.bitcoin.signtx.omni.py b/core/tests/test_apps.bitcoin.signtx.omni.py index 7474db0fe6..b6893db474 100644 --- a/core/tests/test_apps.bitcoin.signtx.omni.py +++ b/core/tests/test_apps.bitcoin.signtx.omni.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from apps.bitcoin.sign_tx.omni import is_valid, parse diff --git a/core/tests/test_apps.bitcoin.signtx.py b/core/tests/test_apps.bitcoin.signtx.py index 1d8a0339a6..a2dfe23ad4 100644 --- a/core/tests/test_apps.bitcoin.signtx.py +++ b/core/tests/test_apps.bitcoin.signtx.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip39 diff --git a/core/tests/test_apps.bitcoin.signtx_decred.py b/core/tests/test_apps.bitcoin.signtx_decred.py index 3b4a881277..c0131fd5c1 100644 --- a/core/tests/test_apps.bitcoin.signtx_decred.py +++ b/core/tests/test_apps.bitcoin.signtx_decred.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if utils.INTERNAL_MODEL in ("T2T1", ): diff --git a/core/tests/test_apps.bitcoin.signtx_grs.py b/core/tests/test_apps.bitcoin.signtx_grs.py index 8fd6e7cd0d..6320937533 100644 --- a/core/tests/test_apps.bitcoin.signtx_grs.py +++ b/core/tests/test_apps.bitcoin.signtx_grs.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip39 diff --git a/core/tests/test_apps.bitcoin.txweight.py b/core/tests/test_apps.bitcoin.txweight.py index 2e91170b9f..229b5bd02f 100644 --- a/core/tests/test_apps.bitcoin.txweight.py +++ b/core/tests/test_apps.bitcoin.txweight.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip39 diff --git a/core/tests/test_apps.bitcoin.zcash.zip243.py b/core/tests/test_apps.bitcoin.zcash.zip243.py index 5395c63dc7..b6d1f48aee 100644 --- a/core/tests/test_apps.bitcoin.zcash.zip243.py +++ b/core/tests/test_apps.bitcoin.zcash.zip243.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.enums import InputScriptType diff --git a/core/tests/test_apps.cardano.address.py b/core/tests/test_apps.cardano.address.py index 140992bc13..c1fb264661 100644 --- a/core/tests/test_apps.cardano.address.py +++ b/core/tests/test_apps.cardano.address.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import wire diff --git a/core/tests/test_apps.cardano.bech32.py b/core/tests/test_apps.cardano.bech32.py index 560b6da2c7..097db52992 100644 --- a/core/tests/test_apps.cardano.bech32.py +++ b/core/tests/test_apps.cardano.bech32.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from apps.cardano.helpers import bech32 diff --git a/core/tests/test_apps.cardano.certificate.py b/core/tests/test_apps.cardano.certificate.py index f4dc1379f3..e0399249d5 100644 --- a/core/tests/test_apps.cardano.certificate.py +++ b/core/tests/test_apps.cardano.certificate.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import wire diff --git a/core/tests/test_apps.cardano.credential.py b/core/tests/test_apps.cardano.credential.py index 86719efc71..a86dbc42d0 100644 --- a/core/tests/test_apps.cardano.credential.py +++ b/core/tests/test_apps.cardano.credential.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.enums import CardanoAddressType diff --git a/core/tests/test_apps.cardano.get_public_key.py b/core/tests/test_apps.cardano.get_public_key.py index 846219bbae..61e46277c1 100644 --- a/core/tests/test_apps.cardano.get_public_key.py +++ b/core/tests/test_apps.cardano.get_public_key.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import cardano, slip39 diff --git a/core/tests/test_apps.cardano.native_script.py b/core/tests/test_apps.cardano.native_script.py index 633670c06f..3a188f7c95 100644 --- a/core/tests/test_apps.cardano.native_script.py +++ b/core/tests/test_apps.cardano.native_script.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import wire diff --git a/core/tests/test_apps.cardano.seed.py b/core/tests/test_apps.cardano.seed.py index aa95dde49e..31700bfa84 100644 --- a/core/tests/test_apps.cardano.seed.py +++ b/core/tests/test_apps.cardano.seed.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import cardano diff --git a/core/tests/test_apps.cardano.utils.py b/core/tests/test_apps.cardano.utils.py index 53a40286f2..be4670260f 100644 --- a/core/tests/test_apps.cardano.utils.py +++ b/core/tests/test_apps.cardano.utils.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.common.cbor.py b/core/tests/test_apps.common.cbor.py index 0de5777f75..dd0f588c1a 100644 --- a/core/tests/test_apps.common.cbor.py +++ b/core/tests/test_apps.common.cbor.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from apps.common.cbor import ( diff --git a/core/tests/test_apps.common.coins.py b/core/tests/test_apps.common.coins.py index 860fa798c2..f36b8ede7b 100644 --- a/core/tests/test_apps.common.coins.py +++ b/core/tests/test_apps.common.coins.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from apps.common import coins diff --git a/core/tests/test_apps.common.keychain.py b/core/tests/test_apps.common.keychain.py index fa2e3ff041..9175091081 100644 --- a/core/tests/test_apps.common.keychain.py +++ b/core/tests/test_apps.common.keychain.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from mock_storage import mock_storage diff --git a/core/tests/test_apps.common.paths.py b/core/tests/test_apps.common.paths.py index e9c88bdae5..97f631d94a 100644 --- a/core/tests/test_apps.common.paths.py +++ b/core/tests/test_apps.common.paths.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.utils import ensure diff --git a/core/tests/test_apps.common.seed.py b/core/tests/test_apps.common.seed.py index 3ea7cd8e8d..1757c12d13 100644 --- a/core/tests/test_apps.common.seed.py +++ b/core/tests/test_apps.common.seed.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import wire diff --git a/core/tests/test_apps.common.writers.py b/core/tests/test_apps.common.writers.py index 289f0a5471..629142c56f 100644 --- a/core/tests/test_apps.common.writers.py +++ b/core/tests/test_apps.common.writers.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip import apps.common.writers as writers diff --git a/core/tests/test_apps.eos.check_action.py b/core/tests/test_apps.eos.check_action.py index 5a7d4ff117..8350f9b6fd 100644 --- a/core/tests/test_apps.eos.check_action.py +++ b/core/tests/test_apps.eos.check_action.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.eos.conversions.py b/core/tests/test_apps.eos.conversions.py index dfa2ef8fc5..a69c5b41f5 100644 --- a/core/tests/test_apps.eos.conversions.py +++ b/core/tests/test_apps.eos.conversions.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.eos.get_public_key.py b/core/tests/test_apps.eos.get_public_key.py index a9af6695d9..e07502d342 100644 --- a/core/tests/test_apps.eos.get_public_key.py +++ b/core/tests/test_apps.eos.get_public_key.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip32, bip39 diff --git a/core/tests/test_apps.ethereum.definitions.py b/core/tests/test_apps.ethereum.definitions.py index e1365c3f59..e72567c873 100644 --- a/core/tests/test_apps.ethereum.definitions.py +++ b/core/tests/test_apps.ethereum.definitions.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip import typing as t diff --git a/core/tests/test_apps.ethereum.helpers.py b/core/tests/test_apps.ethereum.helpers.py index c812ccfb96..5c0bbdfda7 100644 --- a/core/tests/test_apps.ethereum.helpers.py +++ b/core/tests/test_apps.ethereum.helpers.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.ethereum.keychain.py b/core/tests/test_apps.ethereum.keychain.py index a00b412a5f..3696e134f0 100644 --- a/core/tests/test_apps.ethereum.keychain.py +++ b/core/tests/test_apps.ethereum.keychain.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip import unittest diff --git a/core/tests/test_apps.ethereum.layout.py b/core/tests/test_apps.ethereum.layout.py index d912a87c9a..61fdd7e0e4 100644 --- a/core/tests/test_apps.ethereum.layout.py +++ b/core/tests/test_apps.ethereum.layout.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.ethereum.sign_typed_data.py b/core/tests/test_apps.ethereum.sign_typed_data.py index e8a261886a..6dba7da7ab 100644 --- a/core/tests/test_apps.ethereum.sign_typed_data.py +++ b/core/tests/test_apps.ethereum.sign_typed_data.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import wire diff --git a/core/tests/test_apps.ethereum.tokens.py b/core/tests/test_apps.ethereum.tokens.py index af1728ce5f..7065ca135d 100644 --- a/core/tests/test_apps.ethereum.tokens.py +++ b/core/tests/test_apps.ethereum.tokens.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.management.recovery_device.py b/core/tests/test_apps.management.recovery_device.py index f1d876afae..adabe9e3af 100644 --- a/core/tests/test_apps.management.recovery_device.py +++ b/core/tests/test_apps.management.recovery_device.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip import storage diff --git a/core/tests/test_apps.monero.bulletproof.py b/core/tests/test_apps.monero.bulletproof.py index 86e2dcd2f6..1518e30a96 100644 --- a/core/tests/test_apps.monero.bulletproof.py +++ b/core/tests/test_apps.monero.bulletproof.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.monero.clsag.py b/core/tests/test_apps.monero.clsag.py index a4775e7905..7fcf9fe809 100644 --- a/core/tests/test_apps.monero.clsag.py +++ b/core/tests/test_apps.monero.clsag.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.monero.crypto.py b/core/tests/test_apps.monero.crypto.py index 6ab505e6cd..9d98c80bc0 100644 --- a/core/tests/test_apps.monero.crypto.py +++ b/core/tests/test_apps.monero.crypto.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.monero.proto.py b/core/tests/test_apps.monero.proto.py index f515683d68..3ed74ef4fb 100644 --- a/core/tests/test_apps.monero.proto.py +++ b/core/tests/test_apps.monero.proto.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.monero.serializer.py b/core/tests/test_apps.monero.serializer.py index 2194a07f98..9bdaa7c448 100644 --- a/core/tests/test_apps.monero.serializer.py +++ b/core/tests/test_apps.monero.serializer.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import utils diff --git a/core/tests/test_apps.nem.address.py b/core/tests/test_apps.nem.address.py index 22266d8030..0a00938bb8 100644 --- a/core/tests/test_apps.nem.address.py +++ b/core/tests/test_apps.nem.address.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from apps.common.paths import HARDENED diff --git a/core/tests/test_apps.nem.hdnode.py b/core/tests/test_apps.nem.hdnode.py index 3e9ae858ed..8c41c4f14d 100644 --- a/core/tests/test_apps.nem.hdnode.py +++ b/core/tests/test_apps.nem.hdnode.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip32 diff --git a/core/tests/test_apps.nem.mosaic.py b/core/tests/test_apps.nem.mosaic.py index 9fd8916d10..94f3ee194f 100644 --- a/core/tests/test_apps.nem.mosaic.py +++ b/core/tests/test_apps.nem.mosaic.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.nem.mosaic_creation.py b/core/tests/test_apps.nem.mosaic_creation.py index 38eedce9fe..181d5e7a71 100644 --- a/core/tests/test_apps.nem.mosaic_creation.py +++ b/core/tests/test_apps.nem.mosaic_creation.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_apps.nem.mosaic_supply_change.py b/core/tests/test_apps.nem.mosaic_supply_change.py index 578035ab6a..490a7a8a00 100644 --- a/core/tests/test_apps.nem.mosaic_supply_change.py +++ b/core/tests/test_apps.nem.mosaic_supply_change.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_apps.nem.multisig.aggregate_modification.py b/core/tests/test_apps.nem.multisig.aggregate_modification.py index 3ab8a63950..b2e225ef34 100644 --- a/core/tests/test_apps.nem.multisig.aggregate_modification.py +++ b/core/tests/test_apps.nem.multisig.aggregate_modification.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_apps.nem.multisig.py b/core/tests/test_apps.nem.multisig.py index bb183c7344..3c02a8112e 100644 --- a/core/tests/test_apps.nem.multisig.py +++ b/core/tests/test_apps.nem.multisig.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.nem.namespace.py b/core/tests/test_apps.nem.namespace.py index 02361e0ac7..3d28b69f25 100644 --- a/core/tests/test_apps.nem.namespace.py +++ b/core/tests/test_apps.nem.namespace.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_apps.nem.transfer.py b/core/tests/test_apps.nem.transfer.py index 4e3419800e..c368b8f0eb 100644 --- a/core/tests/test_apps.nem.transfer.py +++ b/core/tests/test_apps.nem.transfer.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_apps.ripple.address.py b/core/tests/test_apps.ripple.address.py index 4b85cd07cb..c5cd1d7367 100644 --- a/core/tests/test_apps.ripple.address.py +++ b/core/tests/test_apps.ripple.address.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.ripple.serializer.py b/core/tests/test_apps.ripple.serializer.py index 8c174a90cc..837820f0be 100644 --- a/core/tests/test_apps.ripple.serializer.py +++ b/core/tests/test_apps.ripple.serializer.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.stellar.address.py b/core/tests/test_apps.stellar.address.py index e9cbe159ad..b808e9260f 100644 --- a/core/tests/test_apps.stellar.address.py +++ b/core/tests/test_apps.stellar.address.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.wire import ProcessError diff --git a/core/tests/test_apps.tezos.address.py b/core/tests/test_apps.tezos.address.py index 4484797fa6..748419e760 100644 --- a/core/tests/test_apps.tezos.address.py +++ b/core/tests/test_apps.tezos.address.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.tezos.encode.py b/core/tests/test_apps.tezos.encode.py index 1f87ff5cad..ad9d15b7af 100644 --- a/core/tests/test_apps.tezos.encode.py +++ b/core/tests/test_apps.tezos.encode.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip if not utils.BITCOIN_ONLY: diff --git a/core/tests/test_apps.thp.credential_manager.py b/core/tests/test_apps.thp.credential_manager.py index 771930e6c1..c66b99985d 100644 --- a/core/tests/test_apps.thp.credential_manager.py +++ b/core/tests/test_apps.thp.credential_manager.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * from trezor import config, utils from trezor import log diff --git a/core/tests/test_apps.webauthn.credential.py b/core/tests/test_apps.webauthn.credential.py index f5babf58b6..8429482157 100644 --- a/core/tests/test_apps.webauthn.credential.py +++ b/core/tests/test_apps.webauthn.credential.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip import storage diff --git a/core/tests/test_apps.zcash.f4jumble.py b/core/tests/test_apps.zcash.f4jumble.py index fe897603f4..215b64ffb7 100644 --- a/core/tests/test_apps.zcash.f4jumble.py +++ b/core/tests/test_apps.zcash.f4jumble.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from apps.zcash.f4jumble import f4jumble, f4unjumble diff --git a/core/tests/test_apps.zcash.unified_addresses.py b/core/tests/test_apps.zcash.unified_addresses.py index e7e77d04fb..b7d2aba2f1 100644 --- a/core/tests/test_apps.zcash.unified_addresses.py +++ b/core/tests/test_apps.zcash.unified_addresses.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from apps.common import coininfo diff --git a/core/tests/test_apps.zcash.zip244.py b/core/tests/test_apps.zcash.zip244.py index 519339427f..3ead9b9727 100644 --- a/core/tests/test_apps.zcash.zip244.py +++ b/core/tests/test_apps.zcash.zip244.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.enums import InputScriptType diff --git a/core/tests/test_storage.cache.py b/core/tests/test_storage.cache.py index 25eb119bd3..302772bba9 100644 --- a/core/tests/test_storage.cache.py +++ b/core/tests/test_storage.cache.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from mock_storage import mock_storage diff --git a/core/tests/test_storage.py b/core/tests/test_storage.py index 062ed8f74b..5e697c5cd6 100644 --- a/core/tests/test_storage.py +++ b/core/tests/test_storage.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from storage import device diff --git a/core/tests/test_trezor.config.py b/core/tests/test_trezor.config.py index 1ebd387528..4eb1dfc34f 100644 --- a/core/tests/test_trezor.config.py +++ b/core/tests/test_trezor.config.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import config diff --git a/core/tests/test_trezor.crypto.aes.py b/core/tests/test_trezor.crypto.aes.py index e33ed40be3..20957f8904 100644 --- a/core/tests/test_trezor.crypto.aes.py +++ b/core/tests/test_trezor.crypto.aes.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import aes diff --git a/core/tests/test_trezor.crypto.aesgcm.py b/core/tests/test_trezor.crypto.aesgcm.py index 78e834bb97..54cc3c0bd5 100644 --- a/core/tests/test_trezor.crypto.aesgcm.py +++ b/core/tests/test_trezor.crypto.aesgcm.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import aesgcm diff --git a/core/tests/test_trezor.crypto.base32.py b/core/tests/test_trezor.crypto.base32.py index 58bbb5d4db..f93c0c5ecd 100644 --- a/core/tests/test_trezor.crypto.base32.py +++ b/core/tests/test_trezor.crypto.base32.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import base32 diff --git a/core/tests/test_trezor.crypto.base58.py b/core/tests/test_trezor.crypto.base58.py index 006cce66e0..63903b8e00 100644 --- a/core/tests/test_trezor.crypto.base58.py +++ b/core/tests/test_trezor.crypto.base58.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import base58 diff --git a/core/tests/test_trezor.crypto.bech32.py b/core/tests/test_trezor.crypto.bech32.py index 168d3e8c59..a48f1807cc 100644 --- a/core/tests/test_trezor.crypto.bech32.py +++ b/core/tests/test_trezor.crypto.bech32.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip # Copyright (c) 2017, 2020 Pieter Wuille diff --git a/core/tests/test_trezor.crypto.bip32.py b/core/tests/test_trezor.crypto.bip32.py index 8bcc7bfe3b..46f21544c8 100644 --- a/core/tests/test_trezor.crypto.bip32.py +++ b/core/tests/test_trezor.crypto.bip32.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip32 diff --git a/core/tests/test_trezor.crypto.bip39.py b/core/tests/test_trezor.crypto.bip39.py index 4d2feef13e..8584a0ddc3 100644 --- a/core/tests/test_trezor.crypto.bip39.py +++ b/core/tests/test_trezor.crypto.bip39.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import bip39 diff --git a/core/tests/test_trezor.crypto.cashaddr.py b/core/tests/test_trezor.crypto.cashaddr.py index 2a1f63d372..42fda52c57 100644 --- a/core/tests/test_trezor.crypto.cashaddr.py +++ b/core/tests/test_trezor.crypto.cashaddr.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip # Copyright (c) 2017 Pieter Wuille diff --git a/core/tests/test_trezor.crypto.chacha20poly1305.py b/core/tests/test_trezor.crypto.chacha20poly1305.py index f4f022dc8a..754f61fd4f 100644 --- a/core/tests/test_trezor.crypto.chacha20poly1305.py +++ b/core/tests/test_trezor.crypto.chacha20poly1305.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import chacha20poly1305 diff --git a/core/tests/test_trezor.crypto.cosi.py b/core/tests/test_trezor.crypto.cosi.py index 24d6a23fae..61ea3677e4 100644 --- a/core/tests/test_trezor.crypto.cosi.py +++ b/core/tests/test_trezor.crypto.cosi.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import cosi, random diff --git a/core/tests/test_trezor.crypto.crc.py b/core/tests/test_trezor.crypto.crc.py index 3beddfb166..a56bce4ebd 100644 --- a/core/tests/test_trezor.crypto.crc.py +++ b/core/tests/test_trezor.crypto.crc.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import crc diff --git a/core/tests/test_trezor.crypto.curve.bip340.py b/core/tests/test_trezor.crypto.curve.bip340.py index 121b1f2a5f..2f29d619c8 100644 --- a/core/tests/test_trezor.crypto.curve.bip340.py +++ b/core/tests/test_trezor.crypto.curve.bip340.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import random diff --git a/core/tests/test_trezor.crypto.curve.curve25519.py b/core/tests/test_trezor.crypto.curve.curve25519.py index 0cc3401f03..9a99eea496 100644 --- a/core/tests/test_trezor.crypto.curve.curve25519.py +++ b/core/tests/test_trezor.crypto.curve.curve25519.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto.curve import curve25519 diff --git a/core/tests/test_trezor.crypto.curve.ed25519.py b/core/tests/test_trezor.crypto.curve.ed25519.py index 7cfb31b20a..22f85abeac 100644 --- a/core/tests/test_trezor.crypto.curve.ed25519.py +++ b/core/tests/test_trezor.crypto.curve.ed25519.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import random diff --git a/core/tests/test_trezor.crypto.curve.nist256p1.py b/core/tests/test_trezor.crypto.curve.nist256p1.py index 4a06544991..c15535f7f6 100644 --- a/core/tests/test_trezor.crypto.curve.nist256p1.py +++ b/core/tests/test_trezor.crypto.curve.nist256p1.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import random diff --git a/core/tests/test_trezor.crypto.curve.secp256k1.py b/core/tests/test_trezor.crypto.curve.secp256k1.py index de633c0eca..ebdbea8aa3 100644 --- a/core/tests/test_trezor.crypto.curve.secp256k1.py +++ b/core/tests/test_trezor.crypto.curve.secp256k1.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import random diff --git a/core/tests/test_trezor.crypto.der.py b/core/tests/test_trezor.crypto.der.py index f7792ebe80..cad1431e7e 100644 --- a/core/tests/test_trezor.crypto.der.py +++ b/core/tests/test_trezor.crypto.der.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import der diff --git a/core/tests/test_trezor.crypto.elligator2.py b/core/tests/test_trezor.crypto.elligator2.py index 1c4189fcfd..f68352fe9d 100644 --- a/core/tests/test_trezor.crypto.elligator2.py +++ b/core/tests/test_trezor.crypto.elligator2.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * if utils.USE_THP: diff --git a/core/tests/test_trezor.crypto.hashlib.blake256.py b/core/tests/test_trezor.crypto.hashlib.blake256.py index d73cc30a60..4fe16160f1 100644 --- a/core/tests/test_trezor.crypto.hashlib.blake256.py +++ b/core/tests/test_trezor.crypto.hashlib.blake256.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hashlib.blake2b.py b/core/tests/test_trezor.crypto.hashlib.blake2b.py index 674564cb54..ce2fa038a0 100644 --- a/core/tests/test_trezor.crypto.hashlib.blake2b.py +++ b/core/tests/test_trezor.crypto.hashlib.blake2b.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hashlib.blake2s.py b/core/tests/test_trezor.crypto.hashlib.blake2s.py index 5b1e7e56fb..91260b0283 100644 --- a/core/tests/test_trezor.crypto.hashlib.blake2s.py +++ b/core/tests/test_trezor.crypto.hashlib.blake2s.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hashlib.groestl512.py b/core/tests/test_trezor.crypto.hashlib.groestl512.py index a72a84d89a..c07c045884 100644 --- a/core/tests/test_trezor.crypto.hashlib.groestl512.py +++ b/core/tests/test_trezor.crypto.hashlib.groestl512.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hashlib.ripemd160.py b/core/tests/test_trezor.crypto.hashlib.ripemd160.py index 4c28fe506d..19a13699e1 100644 --- a/core/tests/test_trezor.crypto.hashlib.ripemd160.py +++ b/core/tests/test_trezor.crypto.hashlib.ripemd160.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hashlib.sha1.py b/core/tests/test_trezor.crypto.hashlib.sha1.py index b6ee71134c..21d76287a0 100644 --- a/core/tests/test_trezor.crypto.hashlib.sha1.py +++ b/core/tests/test_trezor.crypto.hashlib.sha1.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hashlib.sha256.py b/core/tests/test_trezor.crypto.hashlib.sha256.py index 571f54a4f0..48ee0d02bd 100644 --- a/core/tests/test_trezor.crypto.hashlib.sha256.py +++ b/core/tests/test_trezor.crypto.hashlib.sha256.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hashlib.sha3_256.py b/core/tests/test_trezor.crypto.hashlib.sha3_256.py index 2ed633fa9f..7e8645bf13 100644 --- a/core/tests/test_trezor.crypto.hashlib.sha3_256.py +++ b/core/tests/test_trezor.crypto.hashlib.sha3_256.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hashlib.sha3_512.py b/core/tests/test_trezor.crypto.hashlib.sha3_512.py index 4d3db4da1d..ae90fdd7bd 100644 --- a/core/tests/test_trezor.crypto.hashlib.sha3_512.py +++ b/core/tests/test_trezor.crypto.hashlib.sha3_512.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hashlib.sha512.py b/core/tests/test_trezor.crypto.hashlib.sha512.py index 34df4dae43..0b835e6ee8 100644 --- a/core/tests/test_trezor.crypto.hashlib.sha512.py +++ b/core/tests/test_trezor.crypto.hashlib.sha512.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hashlib diff --git a/core/tests/test_trezor.crypto.hmac.py b/core/tests/test_trezor.crypto.hmac.py index 3debda4044..40aa78b8b1 100644 --- a/core/tests/test_trezor.crypto.hmac.py +++ b/core/tests/test_trezor.crypto.hmac.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import hmac diff --git a/core/tests/test_trezor.crypto.pbkdf2.py b/core/tests/test_trezor.crypto.pbkdf2.py index 77ddf6de41..69542ee811 100644 --- a/core/tests/test_trezor.crypto.pbkdf2.py +++ b/core/tests/test_trezor.crypto.pbkdf2.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import pbkdf2 diff --git a/core/tests/test_trezor.crypto.random.py b/core/tests/test_trezor.crypto.random.py index 59f8aa9cf7..890f92cc70 100644 --- a/core/tests/test_trezor.crypto.random.py +++ b/core/tests/test_trezor.crypto.random.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import random diff --git a/core/tests/test_trezor.crypto.rlp.py b/core/tests/test_trezor.crypto.rlp.py index 9ecbf6781f..be852e9f09 100644 --- a/core/tests/test_trezor.crypto.rlp.py +++ b/core/tests/test_trezor.crypto.rlp.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.crypto import rlp diff --git a/core/tests/test_trezor.crypto.slip39.py b/core/tests/test_trezor.crypto.slip39.py index 26367957f8..4fa298e74c 100644 --- a/core/tests/test_trezor.crypto.slip39.py +++ b/core/tests/test_trezor.crypto.slip39.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from slip39_vectors import vectors diff --git a/core/tests/test_trezor.io.fatfs.py b/core/tests/test_trezor.io.fatfs.py index c2b29eb9aa..2467a587fc 100644 --- a/core/tests/test_trezor.io.fatfs.py +++ b/core/tests/test_trezor.io.fatfs.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import utils diff --git a/core/tests/test_trezor.io.sdcard.py b/core/tests/test_trezor.io.sdcard.py index 6697e80c21..7dd9f2b950 100644 --- a/core/tests/test_trezor.io.sdcard.py +++ b/core/tests/test_trezor.io.sdcard.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import io, utils diff --git a/core/tests/test_trezor.protobuf.py b/core/tests/test_trezor.protobuf.py index 6418819bf9..0d04e3edfa 100644 --- a/core/tests/test_trezor.protobuf.py +++ b/core/tests/test_trezor.protobuf.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import protobuf diff --git a/core/tests/test_trezor.sdcard.py b/core/tests/test_trezor.sdcard.py index 3846c5faae..783682e931 100644 --- a/core/tests/test_trezor.sdcard.py +++ b/core/tests/test_trezor.sdcard.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import io, sdcard, utils diff --git a/core/tests/test_trezor.strings.py b/core/tests/test_trezor.strings.py index ef39ab7e21..3b48d9e679 100644 --- a/core/tests/test_trezor.strings.py +++ b/core/tests/test_trezor.strings.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import strings diff --git a/core/tests/test_trezor.ui.display.py b/core/tests/test_trezor.ui.display.py index 60dec5e801..3dac73498d 100644 --- a/core/tests/test_trezor.ui.display.py +++ b/core/tests/test_trezor.ui.display.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor.ui import display diff --git a/core/tests/test_trezor.utils.py b/core/tests/test_trezor.utils.py index b764b3ffe9..015bf7a3be 100644 --- a/core/tests/test_trezor.utils.py +++ b/core/tests/test_trezor.utils.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip from trezor import utils diff --git a/core/tests/test_trezor.wire.codec.codec_v1.py b/core/tests/test_trezor.wire.codec.codec_v1.py index 78675859e2..db93f361b8 100644 --- a/core/tests/test_trezor.wire.codec.codec_v1.py +++ b/core/tests/test_trezor.wire.codec.codec_v1.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip import ustruct diff --git a/core/tests/test_unittest.py b/core/tests/test_unittest.py index abbe990060..9d0cdef7bc 100644 --- a/core/tests/test_unittest.py +++ b/core/tests/test_unittest.py @@ -1,3 +1,4 @@ +# flake8: noqa: F403,F405 from common import * # isort:skip