Add support for rule aliasing
- Dominant language
- Rust
- Stars
- 49.7k
- Forks
- 2.4k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 458
Description
This is known thing we're working on and have mentioned in a bunch of other issues and PRs.
Apart from tracking the implementation, I want to use this issue to catalog any known aliases:
- `PGH002` (`pygrep-hooks`) is an alias of `G010` (`flake8-logging-format`)
- `B904` is an alias of `TRY200` (see: #2347)
- `R100` (`flake8-raise`) is an alias of `TRY200`
- `R101` (`flake8-raise`) is an alias of `TRY201`
These aren't one-to-one-aliases, but:
- `UP031` and `UP032` reimplement [`flynt`](https://github.com/ikamensh/flynt)
- `RUF100` reimplements [`yesqa`](https://github.com/asottile/yesqa)
Contributor guide
Research direction
Start by reviewing the alias examples in the issue and the referenced issue #2347, then trace the other issues and pull requests mentioned in the discussion. Done means the implementation scope is decided and the known aliases are cataloged consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100