Skip to content

Commit

Permalink
Also enable flake8 and cov when the plugins are present.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 13, 2020
1 parent 8117892 commit 678e1a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ addopts = "--black"
# jaraco/skeleton#22
[tool.jaraco.pytest.plugins.mypy]
addopts = "--mypy"

[tool.jaraco.pytest.plugins.flake8]
addopts = "--flake8"

[tool.jaraco.pytest.plugins.cov]
addopts = "--cov"
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[pytest]
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules --flake8 --cov
addopts=--doctest-modules
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
# workaround for warning pytest-dev/pytest#6178
junit_family=xunit2
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ testing =
pytest-cov
pytest-mypy; python_implementation != "PyPy"
# jaraco/skeleton#22
jaraco.test >= 3.1.1
jaraco.test >= 3.2.0

# local

Expand Down

0 comments on commit 678e1a9

Please sign in to comment.