mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Revert "Add all PEP-585 names to UP006 rule" (#15250)
This commit is contained in:
parent
baf0d660eb
commit
e4d9fe036a
11 changed files with 19 additions and 649 deletions
|
@ -64,22 +64,3 @@ def f(x: typing.Deque[str]) -> None:
|
|||
|
||||
def f(x: typing.DefaultDict[str, str]) -> None:
|
||||
...
|
||||
|
||||
|
||||
def f(x: typing.AbstractSet[str]) -> None:
|
||||
...
|
||||
|
||||
|
||||
def f(x: typing.Pattern[str]) -> None:
|
||||
...
|
||||
|
||||
|
||||
def f(x: typing.Sequence[str]) -> None:
|
||||
...
|
||||
|
||||
|
||||
from typing import Collection
|
||||
|
||||
|
||||
def f(x: typing.Collection[str]) -> None:
|
||||
...
|
||||
|
|
|
@ -8,19 +8,3 @@ if typing.TYPE_CHECKING:
|
|||
|
||||
def f(x: typing.DefaultDict[str, str]) -> None:
|
||||
...
|
||||
|
||||
|
||||
from collections.abc import Set
|
||||
from typing_extensions import Awaitable
|
||||
|
||||
|
||||
def f(x: typing.AbstractSet[str]) -> None:
|
||||
...
|
||||
|
||||
|
||||
def f(x: Set) -> None:
|
||||
...
|
||||
|
||||
|
||||
def f(x: Awaitable) -> None:
|
||||
...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue