From 5ea47a7cc1258fe5fc7c2b9cdc0ece9bf8baeaec Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 22 Sep 2024 22:57:07 +0200 Subject: [PATCH] STY: Encorce ruff rules (RUF) --- pyproject.toml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e865cd009..9b5815e33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -131,18 +131,19 @@ select = [ "PYI", "Q", "RSE", + "RUF", "TCH", "UP", ] ignore = [ - "B006", # TODO: enable - "B008", # TODO: enable + "B006", # TODO: enable + "B008", # TODO: enable "B007", "B011", - "B017", # TODO: enable + "B017", # TODO: enable "B018", "B020", - "B023", # TODO: enable + "B023", # TODO: enable "B028", "B904", "C401", @@ -157,6 +158,10 @@ ignore = [ "PT017", "PT018", "PYI024", + "RUF005", + "RUF012", # TODO: enable + "RUF015", + "RUF017", # TODO: enable # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", "E111",