mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
66 lines
733 B
Python
66 lines
733 B
Python
import typing
|
|
|
|
|
|
def f(x: typing.List[str]) -> None:
|
|
...
|
|
|
|
|
|
from typing import List
|
|
|
|
|
|
def f(x: List[str]) -> None:
|
|
...
|
|
|
|
|
|
import typing as t
|
|
|
|
|
|
def f(x: t.List[str]) -> None:
|
|
...
|
|
|
|
|
|
from typing import List as IList
|
|
|
|
|
|
def f(x: IList[str]) -> None:
|
|
...
|
|
|
|
|
|
def f(x: "List[str]") -> None:
|
|
...
|
|
|
|
|
|
def f(x: r"List[str]") -> None:
|
|
...
|
|
|
|
|
|
def f(x: "List[str]") -> None:
|
|
...
|
|
|
|
|
|
def f(x: """List[str]""") -> None:
|
|
...
|
|
|
|
|
|
def f(x: "Li" "st[str]") -> None:
|
|
...
|
|
|
|
|
|
def f(x: "List['List[str]']") -> None:
|
|
...
|
|
|
|
|
|
def f(x: "List['Li' 'st[str]']") -> None:
|
|
...
|
|
|
|
|
|
def f(x: "Li" "st['List[str]']") -> None:
|
|
...
|
|
|
|
|
|
def f(x: typing.Deque[str]) -> None:
|
|
...
|
|
|
|
|
|
def f(x: typing.DefaultDict[str, str]) -> None:
|
|
...
|