summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-03-07 12:24:21 -0500
committerJason R. Coombs <jaraco@jaraco.com>2021-03-07 12:24:21 -0500
commit14312a5bd75d3313ffd3e14fc7fbbc2a9b05cee5 (patch)
treed93c7bb24c681abec7a1ae677d02a1d57d325a50
parent7bdab57872da46ef6a5a7f5ea9099a197bdc3131 (diff)
downloadpytest-runner-14312a5bd75d3313ffd3e14fc7fbbc2a9b05cee5.tar.gz
Exclude mypy 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 dd215c6..55497f8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -38,7 +38,8 @@ testing =
pytest-black >= 0.3.7; python_implementation != "PyPy"
pytest-cov
# python_implementation: workaround for jaraco/skeleton#22
- pytest-mypy; python_implementation != "PyPy"
+ # python_version: workaround for python/typed_ast#156
+ pytest-mypy; python_implementation != "PyPy" and python_version < "3.10"
pytest-enabler
# local