summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-03-07 12:53:54 -0500
committerJason R. Coombs <jaraco@jaraco.com>2021-03-07 12:53:54 -0500
commit86efb884f805a9e1f64661ec758f3bd084fed515 (patch)
treeaaca082bf5f3a6499673d1202bc990581f87d5bd
parentaf5445115af0cb68e671a678538a0207389586be (diff)
downloadpytest-runner-86efb884f805a9e1f64661ec758f3bd084fed515.tar.gz
Also deny black on Python 3.10 as workaround for python/typed_ast#156.
-rw-r--r--setup.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 3f6610b..52876d5 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -35,7 +35,8 @@ testing =
pytest-checkdocs >= 2.4
pytest-flake8
# python_implementation: workaround for jaraco/skeleton#22
- pytest-black >= 0.3.7; python_implementation != "PyPy"
+ # python_version: workaround for python/typed_ast#156
+ pytest-black >= 0.3.7; python_implementation != "PyPy" and python_version < "3.10"
pytest-cov
# python_implementation: workaround for jaraco/skeleton#22
# python_version: workaround for python/typed_ast#156