mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-24 22:09:42 +00:00
Summary -- This PR replaces uses of version-dependent imports from `typing` or `typing_extensions` with a centralized `Checker::import_from_typing` method. The idea here is to make the fix for #9761 (whatever it ends up being) applicable to all of the rules performing similar checks. Test Plan -- Existing tests for the affected rules. |
||
|---|---|---|
| .. | ||
| src | ||
| ast.toml | ||
| Cargo.toml | ||
| generate.py | ||