diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-03 13:33:07 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-03 13:36:28 -0500 |
commit | 40da2c65007ccc250c7d897d497ef2b3fb58f3d4 (patch) | |
tree | 10ba3813e720619254e54a0c826be2659810269a | |
parent | 41b814aa6cff3c46788a1d410095061a82af2076 (diff) | |
download | pytest-runner-40da2c65007ccc250c7d897d497ef2b3fb58f3d4.tar.gz |
Run flake8 with tests. Add flake8 config to ignore common exclusions. Add comments to testing and docs extras to aid with merges.
-rw-r--r-- | .flake8 | 2 | ||||
-rw-r--r-- | pytest.ini | 2 | ||||
-rw-r--r-- | setup.py | 7 |
3 files changed, 10 insertions, 1 deletions
@@ -0,0 +1,2 @@ +[flake8] +ignore = W191,W503 @@ -1,4 +1,4 @@ [pytest] norecursedirs=dist build .tox .eggs -addopts=--doctest-modules +addopts=--doctest-modules --flake8 doctest_optionflags=ALLOW_UNICODE ELLIPSIS @@ -36,14 +36,21 @@ params = dict( ], extras_require={ 'testing': [ + # upstream 'pytest>=2.8', 'pytest-sugar>=0.9.1', 'collective.checkdocs', + 'pytest-flake8', + + # local ], 'docs': [ + # upstream 'sphinx', 'jaraco.packaging>=3.2', 'rst.linker>=1.9', + + # local ], }, setup_requires=[ |