From fb154878ebd2758d2a3b4dc518d21fd4f73e12d2 Mon Sep 17 00:00:00 2001 From: David Euresti Date: Mon, 14 Jun 2021 10:58:33 -0700 Subject: [PATCH] Fix mypy tests on 3.10 (#771) 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