pyproject: remove global SLF001 ignore

ignoring SLF001 (private member access) globally is not ideal, as it disables a valuable check throughout the entire codebase
disable SLF001 only for test files instead
This commit is contained in:
Johannes Kirschbauer
2025-07-26 20:24:20 +02:00
parent 6e904de655
commit 798c1a9277

View File

@@ -52,7 +52,6 @@ lint.ignore = [
"TRY301", "TRY301",
"TRY300", "TRY300",
"ANN401", "ANN401",
"SLF001",
"RUF100", "RUF100",
"TRY400", "TRY400",
"E402", "E402",
@@ -66,3 +65,7 @@ lint.ignore = [
"SIM112", "SIM112",
"ISC001", "ISC001",
] ]
[tool.ruff.lint.per-file-ignores]
"*_test.py" = ["SLF001"]
"test_*.py" = ["SLF001"]