From 6375b342dbe2d47552cede6a818fcd258465b312 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sat, 30 Nov 2024 19:19:57 +0000 Subject: [PATCH] Enable the RUF028 lint in Ruff --- .ruff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ruff.toml b/.ruff.toml index 3523672ca6f..f43f5148179 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -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.