mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 07:04:28 -05:00
Docs linking error tutorial with error suppression (#7014)
Documents takeaway from https://github.com/astral-sh/ruff/discussions/7011#discussioncomment-6869239.
This commit is contained in:
@@ -205,6 +205,11 @@ def sum_even_numbers(numbers: List[int]) -> int:
|
||||
return sum(num for num in numbers if num % 2 == 0)
|
||||
```
|
||||
|
||||
For more in-depth instructions on ignoring errors,
|
||||
please see [_Configuration_](configuration.md#error-suppression).
|
||||
|
||||
### Adding Rules
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user