mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-24 09:48:39 +08:00
Upgrade to mypy 1.17.1 (#14598)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Type checkers that we test our stubs against. These should always
|
||||
# be pinned to a specific version to make failure reproducible.
|
||||
mypy==1.16.1
|
||||
mypy==1.17.1
|
||||
pyright==1.1.403
|
||||
|
||||
# Libraries used by our various scripts.
|
||||
|
||||
@@ -236,7 +236,7 @@ with_descriptors.set_tuple_none = 0
|
||||
with_descriptors.set_tuple_none = 0.0
|
||||
with_descriptors.set_tuple_none = None
|
||||
with_descriptors.set_tuple_none = "none" # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
|
||||
with_descriptors.set_tuple_none = object() # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
|
||||
with_descriptors.set_tuple_none = object() # type: ignore
|
||||
|
||||
|
||||
with_descriptors.noneset_tuple = "a"
|
||||
|
||||
@@ -222,15 +222,13 @@ with_descriptors.set_tuple_none = 0
|
||||
with_descriptors.set_tuple_none = 0.0
|
||||
with_descriptors.set_tuple_none = None
|
||||
with_descriptors.set_tuple_none = "none" # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
|
||||
with_descriptors.set_tuple_none = object() # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
|
||||
with_descriptors.set_tuple_none = object() # type: ignore
|
||||
with_descriptors.set_tuple_none = cast(_HasTagAndGet[Literal["a"]], _)
|
||||
with_descriptors.set_tuple_none = cast( # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
|
||||
_HasTagAndGet[str], _
|
||||
)
|
||||
with_descriptors.set_tuple_none = cast(_HasTagAndGet[None], _)
|
||||
with_descriptors.set_tuple_none = cast( # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
|
||||
_HasTagAndGet[object], _
|
||||
)
|
||||
with_descriptors.set_tuple_none = cast(_HasTagAndGet[object], _) # type: ignore
|
||||
|
||||
|
||||
with_descriptors.noneset_tuple = "a"
|
||||
|
||||
Reference in New Issue
Block a user