@@ -267,12 +267,8 @@ class WithDescriptorsStrict(Strict):
267267with_descriptors .convertible_not_none = None # type: ignore
268268with_descriptors .convertible_not_none = object () # type: ignore
269269with_descriptors .convertible_not_none = cast (_HasTagAndGet [str ], _ )
270- with_descriptors .convertible_not_none = cast ( # type: ignore
271- _HasTagAndGet [None ], _
272- )
273- with_descriptors .convertible_not_none = cast ( # type: ignore
274- _HasTagAndGet [object ], _
275- )
270+ with_descriptors .convertible_not_none = cast (_HasTagAndGet [None ], _ ) # type: ignore
271+ with_descriptors .convertible_not_none = cast (_HasTagAndGet [object ], _ ) # type: ignore
276272
277273with_descriptors .convertible_none = 0
278274with_descriptors .convertible_none = "0"
@@ -429,12 +425,8 @@ class WithDescriptorsStrict(Strict):
429425with_descriptors .float_not_none = None # type: ignore
430426with_descriptors .float_not_none = object () # type: ignore
431427with_descriptors .float_not_none = cast (_HasTagAndGet [float ], _ )
432- with_descriptors .float_not_none = cast ( # type: ignore
433- _HasTagAndGet [None ], _
434- )
435- with_descriptors .float_not_none = cast ( # type: ignore
436- _HasTagAndGet [object ], _
437- )
428+ with_descriptors .float_not_none = cast (_HasTagAndGet [None ], _ ) # type: ignore
429+ with_descriptors .float_not_none = cast (_HasTagAndGet [object ], _ ) # type: ignore
438430
439431with_descriptors .float_none = 0
440432with_descriptors .float_none = 0.0
@@ -454,12 +446,8 @@ class WithDescriptorsStrict(Strict):
454446with_descriptors .integer_not_none = None # type: ignore
455447with_descriptors .integer_not_none = object () # type: ignore
456448with_descriptors .integer_not_none = cast (_HasTagAndGet [int ], _ )
457- with_descriptors .integer_not_none = cast ( # type: ignore
458- _HasTagAndGet [None ], _
459- )
460- with_descriptors .integer_not_none = cast ( # type: ignore
461- _HasTagAndGet [object ], _
462- )
449+ with_descriptors .integer_not_none = cast (_HasTagAndGet [None ], _ ) # type: ignore
450+ with_descriptors .integer_not_none = cast (_HasTagAndGet [object ], _ ) # type: ignore
463451
464452with_descriptors .integer_none = 0
465453with_descriptors .integer_none = 0.0
0 commit comments