Skip to content

Commit 1a9ff8c

Browse files
authored
Ignore Ruff RUF015 (#115481)
1 parent bb93301 commit 1a9ff8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,7 @@ ignore = [
753753
"RUF001", # String contains ambiguous unicode character.
754754
"RUF002", # Docstring contains ambiguous unicode character.
755755
"RUF003", # Comment contains ambiguous unicode character.
756+
"RUF015", # Prefer next(...) over single element slice
756757
"SIM102", # Use a single if statement instead of nested if statements
757758
"SIM108", # Use ternary operator {contents} instead of if-else-block
758759
"SIM115", # Use context handler for opening files

0 commit comments

Comments
 (0)