From 17a7a92b7fd5efa1f21cb6781a8f1eabbfbb9363 Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 7 May 2019 17:04:21 +0200 Subject: [PATCH] core: remove setup.cfg, keep pytest.ini for convenience --- core/pytest.ini | 3 +++ core/setup.cfg | 31 ------------------------------- 2 files changed, 3 insertions(+), 31 deletions(-) create mode 100644 core/pytest.ini delete mode 100644 core/setup.cfg diff --git a/core/pytest.ini b/core/pytest.ini new file mode 100644 index 0000000000..14adc4b9c2 --- /dev/null +++ b/core/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +addopts = --pyargs trezorlib.tests.device_tests +xfail_strict = true diff --git a/core/setup.cfg b/core/setup.cfg deleted file mode 100644 index 8ec74f772c..0000000000 --- a/core/setup.cfg +++ /dev/null @@ -1,31 +0,0 @@ -[flake8] -ignore = - # E203 whitespace before ':' - E203, - # E221: multiple spaces before operator - E221, - # E241: multiple spaces after ':' - E241, - # E402: module level import not at top of file - E402, - # E501: line too long - E501, - # E741 ambiguous variable name - E741, - # W503: line break before binary operator - W503 - -[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 -run_xfail =