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

Add --add-noqa optional comment suffix parameter #15884

Closed
Skylion007 opened this issue Feb 2, 2025 · 1 comment
Closed

Add --add-noqa optional comment suffix parameter #15884

Skylion007 opened this issue Feb 2, 2025 · 1 comment

Comments

@Skylion007
Copy link
Contributor

Description

Motivation: often when I add a new rule to a large code base I enable --add-noqa to a large portions of those files. I may want to revisit those changes and differentiate them from those which are manually added by authors. I often do this by adding a suffix after the noqa with a suffix, ie: revisit, TODO, etc. It would be great if the --add-noqa clI option also took an optional user specified string to add to the end of the end of comment to make enabling new rules on large codebases easier, and allow future authors to revisit the noqa comments easier.

@Skylion007 Skylion007 changed the title Allow --add-noqa optional comment suffix parameter Add --add-noqa optional comment suffix parameter Feb 2, 2025
@MichaReiser
Copy link
Member

I think this is the same as #10070

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

No branches or pull requests

2 participants