mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
Add option to provide a reason to --add-noqa (#21294)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -618,8 +618,9 @@ Options:
|
||||
notebooks, use `--extension ipy:ipynb`
|
||||
--statistics
|
||||
Show counts for every rule with at least one violation
|
||||
--add-noqa
|
||||
Enable automatic additions of `noqa` directives to failing lines
|
||||
--add-noqa[=<REASON>]
|
||||
Enable automatic additions of `noqa` directives to failing lines.
|
||||
Optionally provide a reason to append after the codes
|
||||
--show-files
|
||||
See the files Ruff will be run against with the current settings
|
||||
--show-settings
|
||||
|
||||
Reference in New Issue
Block a user