Skip to content

Commit 6375b34

Browse files
committed
Enable the RUF028 lint in Ruff
1 parent 2f1cd36 commit 6375b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ select = [
243243
"RUF024", # Do not pass mutable objects as values to `dict.fromkeys`
244244
"RUF026", # `default_factory` is a positional-only argument to `defaultdict`
245245
# "RUF027", # Possible f-string without an `f` prefix
246-
# "RUF028", # This suppression comment is invalid because {}
246+
"RUF028", # This suppression comment is invalid because {}
247247
# "RUF029", # Function `{name}` is declared `async`, but doesn't `await` or use `async` features.
248248
"RUF030", # `print()` expression in `assert` statement is likely unintentional
249249
# "RUF031", # Use parentheses for tuples in subscripts.

0 commit comments

Comments
 (0)