Standardize how to propose new lint rules #9160
valentincalomme
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I think we avoided templates until now to avoid friction when opening an issue (not that user don't open an issue when they can't find the right template). But I do like your proposed template, so we could start with a generic empty template and one for lint rules. One thing I would find useful to add to the template is when not to use that explains the cases in which you shouldn't use/dont want to the lint rule. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just submitted an issue (#9148) to propose a new rule to be added to
ruff
. As I did it, I realized that I wasn't certain how to best do that:What would be the preferred way to do this? My personal opinion would be to create an issue using a template representing how the rules are documented in the documentation:
This would structure rule proposals and hopefully save time for everyone involved. Ideally, users could pick the template when creating an issue and it would automatically label it.
PS: I'm a HUGE fan of how the rules are documented. I often refer to
ruff
even in projects that don't useruff
for its documentation alone. The "Why is it bad" section is extremely helpful to make my point across when I want to introduce lint rules or certain coding standards.Beta Was this translation helpful? Give feedback.
All reactions