Fix PLR2004/PLR0911: replace magic values with constants, refactor _resolve_version_id

This commit is contained in:
Adam Ladachowski
2026-02-03 23:01:33 +01:00
parent 4bebae00f6
commit 75eccecfba
6 changed files with 67 additions and 49 deletions
-2
View File
@@ -52,9 +52,7 @@ select = [
"RUF", # ruff-specific
]
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]