Ignore PLR rules for CLI app
This commit is contained in:
+5
-1
@@ -51,7 +51,11 @@ select = [
|
|||||||
"PL", # pylint
|
"PL", # pylint
|
||||||
"RUF", # ruff-specific
|
"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]
|
[tool.ruff.lint.isort]
|
||||||
known-first-party = ["tensors"]
|
known-first-party = ["tensors"]
|
||||||
|
|||||||
Reference in New Issue
Block a user