You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Skylion007
changed the title
Allow --add-noqa optional comment suffix parameter
Add --add-noqa optional comment suffix parameter
Feb 2, 2025
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 thenoqa
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.The text was updated successfully, but these errors were encountered: