From 1a9ff8c8fae6fe914f2eb2e7d77e7d9d75a1e200 Mon Sep 17 00:00:00 2001 From: Sid <27780930+autinerd@users.noreply.github.com> Date: Sat, 13 Apr 2024 09:46:04 +0200 Subject: [PATCH] Ignore Ruff RUF015 (#115481) --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index da975078d01..6b61766d4b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -753,6 +753,7 @@ ignore = [ "RUF001", # String contains ambiguous unicode character. "RUF002", # Docstring contains ambiguous unicode character. "RUF003", # Comment contains ambiguous unicode character. + "RUF015", # Prefer next(...) over single element slice "SIM102", # Use a single if statement instead of nested if statements "SIM108", # Use ternary operator {contents} instead of if-else-block "SIM115", # Use context handler for opening files