Ignore PLR rules for CLI app

This commit is contained in:
Adam Ladachowski
2026-02-03 22:58:44 +01:00
parent 5588370a43
commit 4bebae00f6
+5 -1
View File
@@ -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"]