From 074f63bb1f29fb98007625cf12918fd45174784a Mon Sep 17 00:00:00 2001 From: David Euresti Date: Thu, 25 Feb 2021 07:03:28 -0800 Subject: [PATCH] Fix mypy tests on 3.10 Looks like this was a bug fixed upstream --- conftest.py | 6 ------ tox.ini | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/conftest.py b/conftest.py index 79806cb16..14ee0c10b 100644 --- a/conftest.py +++ b/conftest.py @@ -27,9 +27,3 @@ def pytest_configure(config): ) if not PY310: collect_ignore.extend(["tests/test_pattern_matching.py"]) -if PY310: - collect_ignore.extend( - [ - "tests/test_mypy.yml", - ] - ) diff --git a/tox.ini b/tox.ini index f134364c2..83755e23f 100644 --- a/tox.ini +++ b/tox.ini @@ -128,7 +128,7 @@ commands = towncrier --draft [testenv:typing] basepython = python3.8 -deps = mypy>=0.800 +deps = mypy>=0.902 commands = 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 mypy tests/typing_example.py