Skip to content

Commit 1721081

Browse files
authored
Merge pull request #250 from brunns/build/mypy-1.11-breaks-build
Mypy 1.11.0 is breaking the build, so pinning 1.10.1 for now.
2 parents 498ea96 + aa529fb commit 1721081

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ tests = [
5555
# No point on Pypy thanks to https://github.com/python/typed_ast/issues/111
5656
"pytest-mypy-plugins; platform_python_implementation != 'PyPy'",
5757
# Can't use 0.940: https://github.com/python/mypy/issues/12339
58-
"mypy!=0.940; platform_python_implementation != 'PyPy'",
58+
"mypy<=1.10.1; platform_python_implementation != 'PyPy'",
5959
"types-mock",
6060
"pyyaml",
6161
]
@@ -67,6 +67,7 @@ dev = [
6767
"PyHamcrest[docs,tests]",
6868
"towncrier",
6969
"twine",
70+
"mypy<=1.10.1",
7071
"pytest-mypy",
7172
"flake8",
7273
"black",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ commands = towncrier --draft
175175
[testenv:typing]
176176
basepython = python3.12
177177
deps =
178-
mypy
178+
mypy <= 1.10.1
179179
types-mock
180180
commands =
181181
mypy src/

0 commit comments

Comments
 (0)