diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-19 13:19:31 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-19 13:19:31 -0500 |
commit | 313ac58f51c6ef92170647c4cc8626043f68a26b (patch) | |
tree | 3556882e26f8d9d36a7010788827657f39039424 | |
parent | 3d4d8b9dde61b87271861b8c7ebeb168ac4fa72b (diff) | |
download | external_python_setuptools-313ac58f51c6ef92170647c4cc8626043f68a26b.tar.gz external_python_setuptools-313ac58f51c6ef92170647c4cc8626043f68a26b.tar.bz2 external_python_setuptools-313ac58f51c6ef92170647c4cc8626043f68a26b.zip |
Run flake8 tests as part of test suite.
-rw-r--r-- | .flake8 | 12 | ||||
-rw-r--r-- | pytest.ini | 7 |
2 files changed, 14 insertions, 5 deletions
diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..c6580616 --- /dev/null +++ b/.flake8 @@ -0,0 +1,12 @@ +[flake8] +exclude= + .tox + setuptools/_vendor, + pkg_resources/_vendor +ignore = + # W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513 + W503 + # W504 has issues https://github.com/OCA/maintainer-quality-tools/issues/545 + W504 + setuptools/site-patch.py F821 + setuptools/py*compat.py F811 @@ -1,9 +1,6 @@ [pytest] -addopts=--doctest-modules --doctest-glob=pkg_resources/api_tests.txt -r sxX -norecursedirs=dist build *.egg setuptools/extern pkg_resources/extern pkg_resources/tests/data tools .* -flake8-ignore = - setuptools/site-patch.py F821 - setuptools/py*compat.py F811 +addopts=--doctest-modules --flake8 --doctest-glob=pkg_resources/api_tests.txt -r sxX +norecursedirs=dist build *.egg setuptools/extern pkg_resources/extern pkg_resources/tests/data tools .* setuptools/_vendor pkg_resources/_vendor doctest_optionflags=ELLIPSIS ALLOW_UNICODE filterwarnings = # https://github.com/pypa/setuptools/issues/1823 |