Skip to content

Commit

Permalink
Run flake8 with tests. Add flake8 config to ignore common exclusions.…
Browse files Browse the repository at this point in the history
… Add comments to testing and docs extras to aid with merges.
  • Loading branch information
jaraco committed Mar 3, 2018
1 parent 41b814a commit 40da2c6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
ignore = W191,W503
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[pytest]
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
addopts=--doctest-modules --flake8
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,21 @@
],
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=[
Expand Down

0 comments on commit 40da2c6

Please sign in to comment.