Run flake8 with tests. Add flake8 config to ignore common exclusions. Add comments to testing and docs extras to aid with merges.
This commit is contained in:
parent
41b814aa6c
commit
40da2c6500
|
@ -1,4 +1,4 @@
|
||||||
[pytest]
|
[pytest]
|
||||||
norecursedirs=dist build .tox .eggs
|
norecursedirs=dist build .tox .eggs
|
||||||
addopts=--doctest-modules
|
addopts=--doctest-modules --flake8
|
||||||
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
|
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
|
||||||
|
|
7
setup.py
7
setup.py
|
@ -36,14 +36,21 @@ params = dict(
|
||||||
],
|
],
|
||||||
extras_require={
|
extras_require={
|
||||||
'testing': [
|
'testing': [
|
||||||
|
# upstream
|
||||||
'pytest>=2.8',
|
'pytest>=2.8',
|
||||||
'pytest-sugar>=0.9.1',
|
'pytest-sugar>=0.9.1',
|
||||||
'collective.checkdocs',
|
'collective.checkdocs',
|
||||||
|
'pytest-flake8',
|
||||||
|
|
||||||
|
# local
|
||||||
],
|
],
|
||||||
'docs': [
|
'docs': [
|
||||||
|
# upstream
|
||||||
'sphinx',
|
'sphinx',
|
||||||
'jaraco.packaging>=3.2',
|
'jaraco.packaging>=3.2',
|
||||||
'rst.linker>=1.9',
|
'rst.linker>=1.9',
|
||||||
|
|
||||||
|
# local
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
setup_requires=[
|
setup_requires=[
|
||||||
|
|
Loading…
Reference in New Issue
Block a user