mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-08 14:31:06 +00:00
flake8: be stricter
This commit is contained in:
parent
123aec5d7d
commit
a2b70562bc
6
.flake8
6
.flake8
@ -10,18 +10,12 @@ exclude =
|
|||||||
ignore =
|
ignore =
|
||||||
# F401: module imported but unused
|
# F401: module imported but unused
|
||||||
F401,
|
F401,
|
||||||
# F403: used import *
|
|
||||||
F403,
|
|
||||||
# F405 'foo' may be undefined, or defined from star imports
|
|
||||||
F405,
|
|
||||||
# E241: multiple spaces after ':'
|
# E241: multiple spaces after ':'
|
||||||
E241,
|
E241,
|
||||||
# E402: module level import not at top of file
|
# E402: module level import not at top of file
|
||||||
E402,
|
E402,
|
||||||
# E501: line too long
|
# E501: line too long
|
||||||
E501,
|
E501,
|
||||||
# E721: do not compare types, use 'isinstance()'
|
|
||||||
E721,
|
|
||||||
# E722: do not use bare except
|
# E722: do not use bare except
|
||||||
E722,
|
E722,
|
||||||
# E741: ambiguous variable name
|
# E741: ambiguous variable name
|
||||||
|
Loading…
Reference in New Issue
Block a user