mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update comments in .ruff.toml
This commit is contained in:
parent
19dfc3f5af
commit
e739368dcf
@ -245,11 +245,11 @@ select = [
|
|||||||
# "RUF027", # Possible f-string without an `f` prefix
|
# "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.
|
"RUF029", # Function `{name}` is declared `async`, but doesn't `await` or use `async` features.
|
||||||
"RUF030", # `print()` expression in `assert` statement is likely unintentional
|
"RUF030", # `print()` call in `assert` statement is likely unintentional
|
||||||
"RUF031", # Use parentheses for tuples in subscripts.
|
"RUF031", # Use parentheses for tuples in subscripts
|
||||||
"RUF032", # `Decimal()` called with float literal argument
|
"RUF032", # `Decimal()` called with float literal argument
|
||||||
"RUF033", # `__post_init__` method with argument defaults
|
"RUF033", # `__post_init__` method with argument defaults
|
||||||
"RUF034", # Useless if-else condition
|
"RUF034", # Useless `if`-`else` condition
|
||||||
# "RUF100", # Unused `noqa` directive
|
# "RUF100", # Unused `noqa` directive
|
||||||
"RUF101", # `{original}` is a redirect to `{target}`
|
"RUF101", # `{original}` is a redirect to `{target}`
|
||||||
"RUF200", # Failed to parse pyproject.toml: {message}
|
"RUF200", # Failed to parse pyproject.toml: {message}
|
||||||
|
Loading…
Reference in New Issue
Block a user