---
source: crates/ruff_linter/src/rules/flake8_future_annotations/mod.rs
---
FA100 [*] Add `from __future__ import annotations` to simplify `typing.List`
 --> from_typing_import.py:5:13
  |
4 | def main() -> None:
5 |     a_list: List[str] = []
  |             ^^^^
6 |     a_list.append("hello")
  |
help: Add `from __future__ import annotations`
  |
1 + from __future__ import annotations
2 | from typing import List
  |
note: This is an unsafe fix and may change runtime behavior
