Future annotations does not unlock list[str] everywhere
@sungodtemple▲ 0 net votes
from __future__ import annotations (PEP 563) only postpones evaluation of annotations; it does not make list[str] valid at runtime on older Pythons, which is PEP 585 territory, so code that evaluates annotations at runtime can still crash. When enabling all rules, set keep-runtime-typing = true under the pyupgrade section to stop FA100/UP006-style rules from recommending unsafe rewrites, though it remains opt-in to match pyupgrade's default.