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

Feature request: add DEPRECATED selector #9778

Closed
bersbersbers opened this issue Feb 2, 2024 · 4 comments
Closed

Feature request: add DEPRECATED selector #9778

bersbersbers opened this issue Feb 2, 2024 · 4 comments
Labels
configuration Related to settings and configuration

Comments

@bersbersbers
Copy link
Contributor

ruff check --isolated --select=ALL selects ANN101 which is deprecated. I would love to be able to do ruff check --isolated --select=ALL --ignore=DEPRECATED. (I know I could do ruff check --isolated --select=ALL --preview, but I don't want to add all preview rules.)

@AlexWaygood AlexWaygood added the configuration Related to settings and configuration label Feb 2, 2024
@bersbersbers
Copy link
Contributor Author

Another great selector would be INCOMPATIBLE_WITH_FORMATTER, including (for example) COM812.

@bersbersbers bersbersbers changed the title Feature request: add DEPRECATED selector Feature request: add DEPRECATED and INCOMPATIBLE_WITH_FORMATTER selectors Feb 29, 2024
@MichaReiser
Copy link
Member

Sounds reasonable to me. I rename this back to DEPRECATED and track the formatter incompatible rules in #10225

@MichaReiser MichaReiser changed the title Feature request: add DEPRECATED and INCOMPATIBLE_WITH_FORMATTER selectors Feature request: add DEPRECATED selector Mar 4, 2024
@zanieb
Copy link
Member

zanieb commented Mar 11, 2024

I think we should do #10342 instead

@zanieb zanieb closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
@zanieb
Copy link
Member

zanieb commented Mar 11, 2024

By the way, if you don't want to enable all preview rules, you can use explicit-preview-rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Related to settings and configuration
Projects
None yet
Development

No branches or pull requests

4 participants