Enable Ruff executable checks

Remove the Ruff EXE001 suppression from the Python engine configuration and pre-commit task so executable-file linting runs normally. This keeps the repo's Python checks consistent with the current lint rules and catches script-style issues during pre-commit.
This commit is contained in:
Ludy87
2026-08-19 19:43:52 +02:00
parent 845545aa38
commit 5f0fc84409
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ tasks:
ruff:
deps: [install]
cmds:
- uv run --project engine --locked --group pre-commit ruff check --isolated --ignore=EXE001 --target-version=py313 --line-length=120 {{if .FIX}}--fix {{end}}$(git ls-files {{.PY_FILES}})
- uv run --project engine --locked --group pre-commit ruff check --isolated --target-version=py313 --line-length=120 {{if .FIX}}--fix {{end}}$(git ls-files {{.PY_FILES}})
ruff-format:
deps: [install]
-4
View File
@@ -98,10 +98,6 @@ select = [
"BLE", # flake8-blind-except: flags bare `except Exception`
]
ignore = [
"EXE001"
]
[tool.ruff.lint.isort]
known-first-party = ["stirling", "tests"]