Enable the RUF028 lint in Ruff

This commit is contained in:
Adam Turner 2024-11-30 19:19:57 +00:00
parent 2f1cd36798
commit 6375b342db

View File

@ -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.