File tree Expand file tree Collapse file tree
stubs/openpyxl/@tests/test_cases Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Type checkers that we test our stubs against. These should always
22# be pinned to a specific version to make failure reproducible.
3- mypy==1.16 .1
3+ mypy==1.17 .1
44pyright==1.1.403
55
66# Libraries used by our various scripts.
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ class WithDescriptorsStrict(Strict):
236236with_descriptors .set_tuple_none = 0.0
237237with_descriptors .set_tuple_none = None
238238with_descriptors .set_tuple_none = "none" # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
239- with_descriptors .set_tuple_none = object () # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
239+ with_descriptors .set_tuple_none = object () # type : ignore
240240
241241
242242with_descriptors .noneset_tuple = "a"
Original file line number Diff line number Diff line change @@ -222,15 +222,13 @@ class WithDescriptorsStrict(Strict):
222222with_descriptors .set_tuple_none = 0.0
223223with_descriptors .set_tuple_none = None
224224with_descriptors .set_tuple_none = "none" # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
225- with_descriptors .set_tuple_none = object () # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
225+ with_descriptors .set_tuple_none = object () # type : ignore
226226with_descriptors .set_tuple_none = cast (_HasTagAndGet [Literal ["a" ]], _ )
227227with_descriptors .set_tuple_none = cast ( # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
228228 _HasTagAndGet [str ], _
229229)
230230with_descriptors .set_tuple_none = cast (_HasTagAndGet [None ], _ )
231- with_descriptors .set_tuple_none = cast ( # pyright: ignore[reportAttributeAccessIssue] # false negative in mypy
232- _HasTagAndGet [object ], _
233- )
231+ with_descriptors .set_tuple_none = cast (_HasTagAndGet [object ], _ ) # type: ignore
234232
235233
236234with_descriptors .noneset_tuple = "a"
You can’t perform that action at this time.
0 commit comments