ruff/crates/ruff_linter/resources/test/fixtures/pyflakes/F401_13.py
2023-09-20 08:38:27 +02:00

12 lines
244 B
Python

"""Test: module bindings are preferred over local bindings, for deferred annotations."""
from __future__ import annotations
from typing import TypeAlias, List
class Class:
List: TypeAlias = List
def bar(self) -> List:
pass