1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +00:00
trezor-firmware/.flake8

33 lines
689 B
Plaintext
Raw Normal View History

2017-06-23 19:31:42 +00:00
[flake8]
2017-07-03 15:45:56 +00:00
filename =
*.py,
trezorctl
2017-06-23 19:31:42 +00:00
exclude =
.tox/,
build/,
dist/,
trezorlib/*_pb2.py
ignore =
2017-12-23 21:13:09 +00:00
# F821 undefined name 'unicode'
2017-06-23 19:31:42 +00:00
F821,
2017-06-25 16:10:05 +00:00
# F841 local variable is assigned to but never used
F841,
2017-06-23 19:31:42 +00:00
# F401: module imported but unused
F401,
# F403: used import *
F403,
2017-12-23 21:13:09 +00:00
# F405 'foo' may be undefined, or defined from star imports
F405,
2017-07-03 15:45:56 +00:00
# E241: multiple spaces after ':'
E241,
2017-06-23 19:31:42 +00:00
# E402: module level import not at top of file
E402,
# E501: line too long
E501,
# E721: do not compare types, use 'isinstance()'
2017-10-23 23:00:08 +00:00
E721,
# E722: do not use bare except
E722,
# E741: ambiguous variable name
E741