Skip to content

Commit bcbfeaa

Browse files
committed
Bump to mypy 1.11.2
1 parent d91d1df commit bcbfeaa

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Earlier releases might work, but aren't tested
2323

2424
Earlier releases might work, but aren't tested
2525

26-
- [mypy >= v1.4.1](https://pypi.org/project/mypy) or [pyright >= 1.1.206](https://github.com/microsoft/pyright)
26+
- [mypy >= v1.11.2](https://pypi.org/project/mypy) or [pyright >= 1.1.206](https://github.com/microsoft/pyright)
2727
- [python-protobuf >= 4.25.3](https://pypi.org/project/protobuf/) - matching protoc release
2828
- [types-protobuf >= 4.24](https://pypi.org/project/types-protobuf/) - for stubs from the google.protobuf library
2929

mypy_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Requirements to run mypy itself. Mypy executable exists in a separate venv.
2-
mypy==1.4.1
2+
mypy==1.11.2

test_negative/output.expected.3.8

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test_negative/output.expected.3.8.omit_linenos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test_negative/negative.py: error: Incompatible types in assignment (expression h
2727
test_negative/negative.py: error: "Type[Extensions1]" has no attribute "bad" [attr-defined]
2828
test_negative/negative.py: error: "Extensions1" has no attribute "foo" [attr-defined]
2929
test_negative/negative.py: error: Incompatible types in assignment (expression has type "Extensions2", variable has type "Extensions1") [assignment]
30-
test_negative/negative.py: error: Invalid index type "str" for "_ExtensionDict[Simple1]"; expected type "_ExtensionFieldDescriptor[Simple1, <nothing>]" [index]
30+
test_negative/negative.py: error: Invalid index type "str" for "_ExtensionDict[Simple1]"; expected type "_ExtensionFieldDescriptor[Simple1, Never]" [index]
3131
test_negative/negative.py: error: Invalid index type "_ExtensionFieldDescriptor[Simple2, SeparateFileExtension]" for "_ExtensionDict[Simple1]"; expected type "_ExtensionFieldDescriptor[Simple1, SeparateFileExtension]" [index]
3232
test_negative/negative.py: error: Unsupported operand types for in ("_ExtensionFieldDescriptor[Simple2, SeparateFileExtension]" and "_ExtensionDict[Simple1]") [operator]
3333
test_negative/negative.py: error: Argument 1 to "__delitem__" of "_ExtensionDict" has incompatible type "_ExtensionFieldDescriptor[Simple2, SeparateFileExtension]"; expected "_ExtensionFieldDescriptor[Simple1, SeparateFileExtension]" [arg-type]

0 commit comments

Comments
 (0)