mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 19:11:26 +08:00
Add a few # noqas to unblock PyCQA/flake8-pyi#213 (#7658)
This commit is contained in:
1 parent
073f9f416d
commit
54af68c789
4 files changed
+10
-4
No files matched your search
+3
-1
@@ -1,7 +1,9 @@
|
||||
import sys
|
||||
from _typeshed import Self
|
||||
from collections.abc import Iterable
|
||||
from typing import Any, BinaryIO, Generic, MutableSequence, TypeVar, overload
|
||||
|
||||
# pytype crashes if array inherits from collections.abc.MutableSequence instead of typing.MutableSequence
|
||||
from typing import Any, BinaryIO, Generic, MutableSequence, TypeVar, overload # noqa: Y027
|
||||
from typing_extensions import Literal, SupportsIndex, TypeAlias
|
||||
|
||||
_IntTypeCode: TypeAlias = Literal["b", "B", "h", "H", "i", "I", "l", "L", "q", "Q"]
|
||||
|
||||
Reference in new issue
Block a user