2017-06-14 10:58:20 +00:00
|
|
|
[flake8]
|
|
|
|
ignore =
|
2018-07-03 14:11:02 +00:00
|
|
|
# E203 whitespace before ':'
|
|
|
|
E203,
|
2017-06-14 10:58:20 +00:00
|
|
|
# E221: multiple spaces before operator
|
|
|
|
E221,
|
2018-04-03 23:22:40 +00:00
|
|
|
# E241: multiple spaces after ':'
|
2017-06-14 10:58:20 +00:00
|
|
|
E241,
|
|
|
|
# E402: module level import not at top of file
|
|
|
|
E402,
|
|
|
|
# E501: line too long
|
2017-10-03 09:43:56 +00:00
|
|
|
E501,
|
2017-12-09 17:38:36 +00:00
|
|
|
# E741 ambiguous variable name
|
2018-02-26 23:29:00 +00:00
|
|
|
E741,
|
|
|
|
# F403: star import used, unable to detect undefined names
|
2017-10-03 09:43:56 +00:00
|
|
|
F403,
|
|
|
|
# F405: name may be undefined, or defined from star imports
|
2018-07-03 14:11:02 +00:00
|
|
|
F405,
|
|
|
|
# W503: line break before binary operator
|
|
|
|
W503
|
2018-07-03 12:26:27 +00:00
|
|
|
|
|
|
|
[isort]
|
|
|
|
multi_line_output = 3
|
|
|
|
include_trailing_comma = True
|
|
|
|
force_grid_wrap = 0
|
|
|
|
combine_as_imports = True
|
|
|
|
line_length = 88
|
|
|
|
not_skip=__init__.py
|
|
|
|
forced_separate = apps
|
|
|
|
known_standard_library = micropython,ubinascii,ustruct,uctypes,utime,utimeq,trezorio,trezorui,trezorutils,trezorconfig
|
|
|
|
|
|
|
|
[tool:pytest]
|
|
|
|
addopts = --pyargs trezorlib.tests.device_tests
|
|
|
|
xfail_strict = true
|
2018-06-26 12:45:43 +00:00
|
|
|
run_xfail = ripple
|