summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-09-14 19:05:13 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-09-14 19:05:13 -0400
commitf01d2719802d3345332b761fb1c62fa4afd212c9 (patch)
tree4699b9097e29ef07e915dea53cedad1537ace744 /pyproject.toml
parentf84c145482d273cd6b90e20012443edcfd59ff0d (diff)
downloadpython-setuptools-git-f01d2719802d3345332b761fb1c62fa4afd212c9.tar.gz
Enable flake8 and cov plugins only when installed. Avoid installing in PyPy.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index cfdc2574..cd66e277 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,3 +41,9 @@ backend-path = ["."]
directory = "misc"
name = "Misc"
showcontent = true
+
+[tool.jaraco.pytest.plugins.flake8]
+addopts = "--flake8"
+
+[tool.jaraco.pytest.plugins.cov]
+addopts = "--cov"