mirror of https://github.com/astral-sh/ruff
Mention trailing comma in range suppression spec
This commit is contained in:
parent
36a1f17b37
commit
6672bb3e8c
|
|
@ -402,7 +402,8 @@ The full range suppression comment specification is as follows:
|
|||
to start or end a range respectively, immediately followed by `[`, any codes to
|
||||
be suppressed, and ending with `]`.
|
||||
- Codes to be suppressed must be separated by commas, with optional whitespace
|
||||
before or after each code.
|
||||
before or after each code, and may be followed by an optional trailing comma
|
||||
after the last code.
|
||||
|
||||
#### File-level
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue