mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-19 22:50:29 +08:00
Drop flake8-noqa and remove workarounds to work with Ruff (#13571)
This commit is contained in:
@@ -91,9 +91,7 @@ class FrozenDict(dict[_KT, _VT]):
|
||||
@classmethod
|
||||
def fromkeys(cls, keys: Iterable[_KT], value: _VT | None = None) -> Self: ... # type: ignore[override]
|
||||
def updated(self, *a, **kw) -> Self: ...
|
||||
# Can't noqa because of https://github.com/plinss/flake8-noqa/pull/30
|
||||
# Signature conflicts with superclass, so let's just omit it
|
||||
# def __ior__(self, *a, **kw) -> NoReturn: ...
|
||||
def __ior__(self, *a, **kw) -> NoReturn: ... # type: ignore[misc] # noqa: Y034 # Signature conflicts with superclass
|
||||
def __setitem__(self, *a, **kw) -> NoReturn: ...
|
||||
def __delitem__(self, *a, **kw) -> NoReturn: ...
|
||||
def update(self, *a, **kw) -> NoReturn: ...
|
||||
|
||||
Reference in New Issue
Block a user