-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Copyright rules not selectable with "CPY" #5569
Comments
Hey @Hnasar — this is intentional because this rule is in the "nursery" group which requires explicit opt-in since the rules are still under development. See #4407 for some more background. The category name was also intentional, see #4701 (comment) cc @charliermarsh |
I did intend to change the category name, but I think I missed one reference. That these rules are in the "nursery" group is supposed to be reflected in the docs which would make this a lot clearer, but we haven't finished that change yet 😭 (#5439) |
The name should be addressed now by #5577 |
I'm going to close for now since I think this is mostly blocked on fixing the docs, which is being tracked elsewhere. |
Unlike with other rules which I can enable with the linter prefix, the CPY rules seems to require the specific error code.
Also, the docs still mention the old name of the checker before it was renamed to flake8-copyright in #5236
https://beta.ruff.rs/docs/rules/#copyright-related-rules-cpy
Thanks for ruff!
The text was updated successfully, but these errors were encountered: