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,
|
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
|