Skip to content

Commit d9b029b

Browse files
Avasamjaraco
andauthored
Don't install (nor run) mypy on PyPy (librt build failures) (jaraco/skeleton#187)
--------- Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
1 parent d5c6862 commit d9b029b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,9 @@ enabler = [
6363

6464
type = [
6565
# upstream
66-
"pytest-mypy >= 1.0.1",
67-
68-
## workaround for python/mypy#20454
69-
"mypy < 1.19; python_implementation == 'PyPy'",
66+
67+
# Exclude PyPy from type checks (python/mypy#20454 jaraco/skeleton#187)
68+
"pytest-mypy >= 1.0.1; platform_python_implementation != 'PyPy'",
7069

7170
# local
7271
]

0 commit comments

Comments
 (0)