mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-16 03:24:54 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
@@ -59,7 +59,7 @@ class auto(IntFlag):
|
||||
def __new__(cls: Type[_T]) -> _T: ...
|
||||
|
||||
class Flag(Enum):
|
||||
name: str | None # type: ignore
|
||||
name: str | None # type: ignore[assignment]
|
||||
value: int
|
||||
def __contains__(self: _T, other: _T) -> bool: ...
|
||||
def __repr__(self) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user