diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-09-12 19:02:55 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-09-12 23:39:01 -0400 |
commit | 678e1a973a0139c0e0ab40395dfbada6c3ea72b9 (patch) | |
tree | a4b1d0b2434bcafa5d2d1a69fd9e1623e92c6db3 | |
parent | 8117892ea5da9969f49756933bcbaa576ee7c5d7 (diff) | |
download | pytest-runner-678e1a973a0139c0e0ab40395dfbada6c3ea72b9.tar.gz |
Also enable flake8 and cov when the plugins are present.
-rw-r--r-- | pyproject.toml | 6 | ||||
-rw-r--r-- | pytest.ini | 2 | ||||
-rw-r--r-- | setup.cfg | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml index 9cd13ba..79f088a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -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 @@ -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 |