Ignore PLR rules for CLI app
This commit is contained in:
+5
-1
@@ -51,7 +51,11 @@ select = [
|
||||
"PL", # pylint
|
||||
"RUF", # ruff-specific
|
||||
]
|
||||
ignore = []
|
||||
ignore = [
|
||||
"PLR2004", # Magic values - acceptable in CLI apps
|
||||
"PLR0913", # Too many arguments - CLI commands need many options
|
||||
"PLR0911", # Too many return statements
|
||||
]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
known-first-party = ["tensors"]
|
||||
|
||||
Reference in New Issue
Block a user