summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-11-19 09:36:01 -0500
committerJason R. Coombs <jaraco@jaraco.com>2022-11-19 09:36:10 -0500
commit9e13598ce4b81c2c964dd555fa407bb3ba4cc607 (patch)
treeb1c8fba70f77c992f8acd091419c2bfa42515872 /setup.cfg
parent56b6f1d1d7a975b27f96c4e15a20077914b4c554 (diff)
downloadpython-setuptools-git-9e13598ce4b81c2c964dd555fa407bb3ba4cc607.tar.gz
Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index a0d86eba..a8f80ced 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -30,7 +30,9 @@ testing =
# upstream
pytest >= 6
pytest-checkdocs >= 2.4
- pytest-flake8
+ pytest-flake8; \
+ # workaround for tholo/pytest-flake8#87
+ python_version < "3.12"
# workaround for tholo/pytest-flake8#87
flake8 < 5
pytest-black >= 0.3.7; \