Skip to content

Commit

Permalink
Fix mypy tests on 3.10
Browse files Browse the repository at this point in the history
Looks like this was a bug fixed upstream
  • Loading branch information
euresti committed Feb 25, 2021
1 parent 1e1742a commit a813653
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a813653

Please sign in to comment.