@@ -106,7 +106,7 @@ def __getstate__(self) -> Dict[str, _V]:
106106 return self .__dict__
107107
108108 def __setstate__ (self , state ):
109- self .__init__ (** state ) # type: ignore
109+ self .__init__ (** state ) # type: ignore[misc]
110110
111111 def __copy__ (self ):
112112 return self .__class__ (** self .__dict__ )
@@ -219,7 +219,7 @@ def __setitem__(self, i: int, o: _T) -> None: ...
219219 def __setitem__ (self , i : slice , o : Iterable [_T ]) -> None : ...
220220
221221 def __setitem__ (self , i : Union [int , slice ], item : Union [_T , Iterable [_T ]]) -> None :
222- self .data [i ] = item # type: ignore
222+ self .data [i ] = item # type: ignore[index, assignment]
223223
224224 def __delitem__ (self , i : Union [int , slice ]):
225225 del self .data [i ]
@@ -422,7 +422,7 @@ def __sub__(self: _F, other: float) -> _F:
422422 def __mul__ (self : _F , other : float ) -> _F :
423423 return self .__class__ (float (self ).__mul__ (other ))
424424
425- def __floordiv__ (self : _F , other : float ) -> _F : # type: ignore
425+ def __floordiv__ (self : _F , other : float ) -> _F : # type: ignore[override]
426426 return self .__class__ (float (self ).__floordiv__ (other ))
427427
428428 def __truediv__ (self : _F , other : float ) -> _F :
@@ -432,7 +432,7 @@ def __mod__(self: _F, other: float) -> _F:
432432 return self .__class__ (float (self ).__mod__ (other ))
433433
434434 def __divmod__ (self : _F , other : float ) -> Tuple [_F , _F ]:
435- return tuple (self .__class__ (x ) for x in float (self ).__divmod__ (other )) # type: ignore
435+ return tuple (self .__class__ (x ) for x in float (self ).__divmod__ (other )) # type: ignore[return-value]
436436
437437 def __pow__ (self : _F , other : float , mod = None ) -> _F :
438438 return self .__class__ (float (self ).__pow__ (other , mod ))
@@ -446,7 +446,7 @@ def __rsub__(self: _F, other: float) -> _F:
446446 def __rmul__ (self : _F , other : float ) -> _F :
447447 return self .__class__ (float (self ).__rmul__ (other ))
448448
449- def __rfloordiv__ (self : _F , other : float ) -> _F : # type: ignore
449+ def __rfloordiv__ (self : _F , other : float ) -> _F : # type: ignore[override]
450450 return self .__class__ (float (self ).__rfloordiv__ (other ))
451451
452452 def __rtruediv__ (self : _F , other : float ) -> _F :
0 commit comments