@@ -167,19 +167,19 @@ class WithDescriptorsStrict(Strict):
167167assert_type (with_descriptors .minmax_int , int )
168168assert_type (with_descriptors .minmax_int_none , Union [int , None ])
169169
170- assert_type (with_descriptors .bool_not_none , bool ) # type: ignore[assert-type] # False-positive in mypy
170+ assert_type (with_descriptors .bool_not_none , bool )
171171assert_type (with_descriptors .bool_none , Union [bool , None ])
172172
173173assert_type (with_descriptors .emptytag_not_none , bool )
174174assert_type (with_descriptors .emptytag_none , Union [bool , None ])
175175
176- assert_type (with_descriptors .string_not_none , str ) # type: ignore[assert-type] # False-positive in mypy
176+ assert_type (with_descriptors .string_not_none , str )
177177assert_type (with_descriptors .string_none , Union [str , None ])
178178
179- assert_type (with_descriptors .float_not_none , float ) # type: ignore[assert-type] # False-positive in mypy
179+ assert_type (with_descriptors .float_not_none , float )
180180assert_type (with_descriptors .float_none , Union [float , None ])
181181
182- assert_type (with_descriptors .integer_not_none , int ) # type: ignore[assert-type] # False-positive in mypy
182+ assert_type (with_descriptors .integer_not_none , int )
183183assert_type (with_descriptors .integer_none , Union [int , None ])
184184
185185
@@ -264,13 +264,13 @@ class WithDescriptorsStrict(Strict):
264264
265265with_descriptors .convertible_not_none = 0
266266with_descriptors .convertible_not_none = "0"
267- with_descriptors .convertible_not_none = None # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
268- with_descriptors .convertible_not_none = object () # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
267+ with_descriptors .convertible_not_none = None # type : ignore
268+ with_descriptors .convertible_not_none = object () # type : ignore
269269with_descriptors .convertible_not_none = cast (_HasTagAndGet [str ], _ )
270- with_descriptors .convertible_not_none = cast ( # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
270+ with_descriptors .convertible_not_none = cast ( # type : ignore
271271 _HasTagAndGet [None ], _
272272)
273- with_descriptors .convertible_not_none = cast ( # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
273+ with_descriptors .convertible_not_none = cast ( # type : ignore
274274 _HasTagAndGet [object ], _
275275)
276276
@@ -426,13 +426,13 @@ class WithDescriptorsStrict(Strict):
426426with_descriptors .float_not_none = 0.0
427427with_descriptors .float_not_none = "0"
428428with_descriptors .float_not_none = b"0"
429- with_descriptors .float_not_none = None # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
430- with_descriptors .float_not_none = object () # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
429+ with_descriptors .float_not_none = None # type : ignore
430+ with_descriptors .float_not_none = object () # type : ignore
431431with_descriptors .float_not_none = cast (_HasTagAndGet [float ], _ )
432- with_descriptors .float_not_none = cast ( # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
432+ with_descriptors .float_not_none = cast ( # type : ignore
433433 _HasTagAndGet [None ], _
434434)
435- with_descriptors .float_not_none = cast ( # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
435+ with_descriptors .float_not_none = cast ( # type : ignore
436436 _HasTagAndGet [object ], _
437437)
438438
@@ -451,13 +451,13 @@ class WithDescriptorsStrict(Strict):
451451with_descriptors .integer_not_none = 0.0
452452with_descriptors .integer_not_none = "0"
453453with_descriptors .integer_not_none = b"0"
454- with_descriptors .integer_not_none = None # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
455- with_descriptors .integer_not_none = object () # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
454+ with_descriptors .integer_not_none = None # type : ignore
455+ with_descriptors .integer_not_none = object () # type : ignore
456456with_descriptors .integer_not_none = cast (_HasTagAndGet [int ], _ )
457- with_descriptors .integer_not_none = cast ( # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
457+ with_descriptors .integer_not_none = cast ( # type : ignore
458458 _HasTagAndGet [None ], _
459459)
460- with_descriptors .integer_not_none = cast ( # pyright : ignore[reportAttributeAccessIssue] # false negative in mypy
460+ with_descriptors .integer_not_none = cast ( # type : ignore
461461 _HasTagAndGet [object ], _
462462)
463463
0 commit comments