Skip to content

Commit

Permalink
Pin Mypy & Pyright
Browse files Browse the repository at this point in the history
Both are failing.
  • Loading branch information
hynek committed Apr 24, 2024
1 parent 5ce5d82 commit 46f1f35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -34,7 +34,7 @@ tests-mypy = [
'pytest-mypy-plugins; platform_python_implementation == "CPython" and python_version >= "3.8"',
# Since the mypy error messages keep changing, we have to keep updating this
# pin.
'mypy>=1.6; platform_python_implementation == "CPython" and python_version >= "3.8"',
'mypy>=1.6,<1.10; platform_python_implementation == "CPython" and python_version >= "3.8"',
]
tests = [
# For regression test to ensure cloudpickle compat doesn't break.
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -92,7 +92,7 @@ commands = towncrier build --version main --draft

[testenv:pyright]
extras = tests
deps = pyright
deps = pyright<1.1.359
commands = pytest tests/test_pyright.py -vv


Expand Down

0 comments on commit 46f1f35

Please sign in to comment.