mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Enable the RUF028 lint in Ruff
This commit is contained in:
parent
2f1cd36798
commit
6375b342db
@ -243,7 +243,7 @@ select = [
|
||||
"RUF024", # Do not pass mutable objects as values to `dict.fromkeys`
|
||||
"RUF026", # `default_factory` is a positional-only argument to `defaultdict`
|
||||
# "RUF027", # Possible f-string without an `f` prefix
|
||||
# "RUF028", # This suppression comment is invalid because {}
|
||||
"RUF028", # This suppression comment is invalid because {}
|
||||
# "RUF029", # Function `{name}` is declared `async`, but doesn't `await` or use `async` features.
|
||||
"RUF030", # `print()` expression in `assert` statement is likely unintentional
|
||||
# "RUF031", # Use parentheses for tuples in subscripts.
|
||||
|
Loading…
Reference in New Issue
Block a user