mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 13:33:59 +08:00
Update project.requires-python to >=3.10 (#15402)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
from abc import abstractmethod
|
||||
from types import MappingProxyType
|
||||
from typing import ( # noqa: Y022,Y038,UP035,Y057
|
||||
from typing import ( # noqa: Y022,Y038,UP035,Y057,RUF100
|
||||
AbstractSet as Set,
|
||||
AsyncGenerator as AsyncGenerator,
|
||||
AsyncIterable as AsyncIterable,
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ from types import CellType, CodeType, GenericAlias, TracebackType
|
||||
|
||||
# mypy crashes if any of {ByteString, Sequence, MutableSequence, Mapping, MutableMapping}
|
||||
# are imported from collections.abc in builtins.pyi
|
||||
from typing import ( # noqa: Y022,UP035
|
||||
from typing import ( # noqa: Y022,UP035,RUF100
|
||||
IO,
|
||||
Any,
|
||||
BinaryIO,
|
||||
|
||||
@@ -30,7 +30,7 @@ from collections.abc import (
|
||||
from contextlib import AbstractAsyncContextManager as AsyncContextManager, AbstractContextManager as ContextManager
|
||||
from re import Match as Match, Pattern as Pattern
|
||||
from types import GenericAlias, ModuleType
|
||||
from typing import ( # noqa: Y022,Y037,Y038,Y039,UP035
|
||||
from typing import ( # noqa: Y022,Y037,Y038,Y039,UP035,RUF100
|
||||
IO as IO,
|
||||
TYPE_CHECKING as TYPE_CHECKING,
|
||||
AbstractSet as AbstractSet,
|
||||
|
||||
Reference in New Issue
Block a user