2017-06-23 19:31:42 +00:00
|
|
|
[flake8]
|
2017-07-03 15:45:56 +00:00
|
|
|
filename =
|
|
|
|
*.py,
|
2018-04-03 19:25:07 +00:00
|
|
|
./trezorctl
|
2017-06-23 19:31:42 +00:00
|
|
|
exclude =
|
|
|
|
.tox/,
|
|
|
|
build/,
|
|
|
|
dist/,
|
2018-04-03 19:25:07 +00:00
|
|
|
vendor/,
|
2017-06-23 19:31:42 +00:00
|
|
|
ignore =
|
|
|
|
# F401: module imported but unused
|
|
|
|
F401,
|
2017-12-12 15:40:11 +00:00
|
|
|
# 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
|
2017-07-31 11:35:31 +00:00
|
|
|
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
|