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