Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 273ab65

Browse files
author
Nick Sullivan
committed
🔧 Extend Ruff linter ignore rules
Add RUF005 and S607 to the ignore list in pyproject.toml. This allows iterable unpacking over concatenation and subprocess calls with partial executable paths, respectively. These changes provide more flexibility in coding style while maintaining overall code quality.
1 parent e79f84f commit 273ab65

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ lint.extend-ignore = [
3232
"RUF012", # Don't force annotations of mutable class attributes
3333
"RUF013", # Optional args are ok
3434
"RUF010", # Don't force f-strings everywhere
35+
"RUF005", # Don't force iterable unpacking over concatenation
3536
"RUF100", # Allow unused imports
3637
"S101", # assert
3738
"S105", # possible hardcoded password
@@ -40,6 +41,7 @@ lint.extend-ignore = [
4041
"S311", # Trust us with random
4142
"S324", # Trust us with hashlib
4243
"S603", # subprocess call
44+
"S607", # subprocess with partial executable path
4345
"SIM102", # Nested ifs are ok
4446
"SIM108", # Don't force ternary operators
4547
"SIM105", # try/except/pass is fine

0 commit comments

Comments
 (0)