mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Remove a no-longer-needed # noqa (#9685)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import _typeshed
|
||||
import collections # Needed by aliases like DefaultDict, see mypy issue 2986
|
||||
import sys
|
||||
import typing_extensions
|
||||
from _collections_abc import dict_items, dict_keys, dict_values
|
||||
from _typeshed import IdentityFunction, Incomplete, SupportsKeysAndGetItem
|
||||
from abc import ABCMeta, abstractmethod
|
||||
@@ -719,7 +720,7 @@ class ByteString(Sequence[int], metaclass=ABCMeta): ...
|
||||
|
||||
# Functions
|
||||
|
||||
_get_type_hints_obj_allowed_types = ( # noqa: Y026 # TODO: Use TypeAlias once mypy bugs are fixed
|
||||
_get_type_hints_obj_allowed_types: typing_extensions.TypeAlias = ( # noqa: Y042
|
||||
object
|
||||
| Callable[..., Any]
|
||||
| FunctionType
|
||||
|
||||
Reference in New Issue
Block a user