Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mypy tests on 3.10 #771

Merged
merged 1 commit into from Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions conftest.py
Expand Up @@ -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",
]
)
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -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
Expand Down