Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rule command: show all code aliases for a rule #2531

Open
ngnpope opened this issue Feb 3, 2023 · 0 comments
Open

rule command: show all code aliases for a rule #2531

ngnpope opened this issue Feb 3, 2023 · 0 comments
Labels
cli Related to the command-line interface

Comments

@ngnpope
Copy link
Contributor

ngnpope commented Feb 3, 2023

Following on from #2186 and #2517, it would be nice to show all codes that match a rule.

Before Example:

❯ ruff rule UP004
useless-object-inheritance

Code: UP004 (pyupgrade)

Autofix is always available.

Message formats:

* Class `{name}` inherits from `object`

After Example:

❯ ruff rule UP004
useless-object-inheritance

Code: PIE792 (flake8-pie), PLR0205 (pylint), UP004 (pyupgrade)

Autofix is always available.

Message formats:

* Class `{name}` inherits from `object`
@charliermarsh charliermarsh added the cli Related to the command-line interface label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command-line interface
Projects
None yet
Development

No branches or pull requests

2 participants