Skip to content

Commit 074f63b

Browse files
committed
Fix mypy tests on 3.10
Looks like this was a bug fixed upstream
1 parent ec249f6 commit 074f63b

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

conftest.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,3 @@ def pytest_configure(config):
2727
)
2828
if not PY310:
2929
collect_ignore.extend(["tests/test_pattern_matching.py"])
30-
if PY310:
31-
collect_ignore.extend(
32-
[
33-
"tests/test_mypy.yml",
34-
]
35-
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ commands = towncrier --draft
128128

129129
[testenv:typing]
130130
basepython = python3.8
131-
deps = mypy>=0.800
131+
deps = mypy>=0.902
132132
commands =
133133
mypy src/attr/__init__.pyi src/attr/_version_info.pyi src/attr/converters.pyi src/attr/exceptions.pyi src/attr/filters.pyi src/attr/setters.pyi src/attr/validators.pyi
134134
mypy tests/typing_example.py

0 commit comments

Comments
 (0)