new rule - detect circular dependencies
Open
typechecking
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 516
- PR merge metrics
- No merged PRs in 30d
Description
pyright has a rule for this: `reportImportCycles`, it would be nice if pyrefly did as well.
ruff's `PLC0415` partially covers it, but it doesn't protect against `TYPE_CHECKING` only circular dependencies, which are still a sign of a problem in your project's structure
Contributor guide
Assessment
This issue has not been assessed yet.