mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
Ignore mypy errors in Python 2 builtins and typing (#7894)
Similar errors are already ignored in Python 3 stubs. The errors break Python 2 tests of mypy. See https://github.com/python/typeshed/issues/7367#issuecomment-1131472225 for context.
This commit is contained in:
@@ -239,9 +239,9 @@ class MutableSet(AbstractSet[_T], Generic[_T]):
|
||||
def clear(self) -> None: ...
|
||||
def pop(self) -> _T: ...
|
||||
def remove(self, element: _T) -> None: ...
|
||||
def __ior__(self: Self, s: AbstractSet[_T]) -> Self: ...
|
||||
def __ior__(self: Self, s: AbstractSet[_T]) -> Self: ... # type: ignore[override,misc]
|
||||
def __iand__(self: Self, s: AbstractSet[Any]) -> Self: ...
|
||||
def __ixor__(self: Self, s: AbstractSet[_T]) -> Self: ...
|
||||
def __ixor__(self: Self, s: AbstractSet[_T]) -> Self: ... # type: ignore[override,misc]
|
||||
def __isub__(self: Self, s: AbstractSet[Any]) -> Self: ...
|
||||
|
||||
class MappingView(object):
|
||||
|
||||
Reference in New Issue
Block a user