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

10 lines
148 B
Python

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