diff --git a/web/.husky/pre-commit b/web/.husky/pre-commit index b3a0e60494..cca8abe27a 100755 --- a/web/.husky/pre-commit +++ b/web/.husky/pre-commit @@ -28,7 +28,11 @@ if $api_modified; then poetry install -C api --only lint fi - + # run Ruff linter auto-fixing + ruff check --fix ./api + + # run Ruff linter checks + ruff check --preview ./api || status=$? status=${status:-0}