Implement `TYP001` from `flake8-typing-imports`
Open
rule
- Dominant language
- Rust
- Stars
- 49.6k
- Forks
- 2.4k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 458
Description
This rule detects whether you've imported something from `typing` that's incompatible with your supported Python version.
See: #2096.
Contributor guide
Research direction
Start by reading issue #2096 for the surrounding context and locate the existing rule implementations in Ruff. Trace how typing-related imports are detected and how supported Python versions are represented. Done means Ruff implements TYP001 and detects incompatible imports from typing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100