ruff/crates/ruff_linter/resources/test/fixtures/pyflakes/F821_14.py

8 lines
105 B
Python

"""Test case: f-strings in type annotations."""
from typing import List
x = 1
x: List[f"i{x}nt"] = []