From a813653b8a813a8621f6470c1f29fefa85668b16 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 | 1 - tox.ini | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/conftest.py b/conftest.py index 1d98e39b1..daee144e6 100644 --- a/conftest.py +++ b/conftest.py @@ -26,7 +26,6 @@ def pytest_configure(config): if sys.version_info[:2] >= (3, 10): collect_ignore.extend( [ - "tests/test_mypy.yml", "tests/test_hooks.py", ] ) diff --git a/tox.ini b/tox.ini index 850b75a4a..1b038bcc8 100644 --- a/tox.ini +++ b/tox.ini @@ -117,7 +117,7 @@ commands = towncrier --draft [testenv:typing] basepython = python3.8 -deps = mypy>=0.800 +deps = mypy>=0.812 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