mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
Fix typo (#8309)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan <!-- How was it tested? -->
This commit is contained in:
parent
aa90a425e0
commit
87772c2884
3 changed files with 4 additions and 4 deletions
|
@ -251,7 +251,7 @@ For more in-depth instructions on ignoring errors, please see [_Error suppressio
|
|||
When enabling a new rule on an existing codebase, you may want to ignore all _existing_
|
||||
violations of that rule and instead focus on enforcing it going forward.
|
||||
|
||||
Ruff enables this workflow via the `--add-noqa` flag, which will adds a `# noqa` directive to each
|
||||
Ruff enables this workflow via the `--add-noqa` flag, which will add a `# noqa` directive to each
|
||||
line based on its existing violations. We can combine `--add-noqa` with the `--select` command-line
|
||||
flag to add `# noqa` directives to all existing `UP035` violations:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue