chore: restore the pre-commit hook
This commit is contained in:
parent
8208269c9b
commit
10547125e6
@ -28,7 +28,11 @@ if $api_modified; then
|
|||||||
poetry install -C api --only lint
|
poetry install -C api --only lint
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# run Ruff linter auto-fixing
|
||||||
|
ruff check --fix ./api
|
||||||
|
|
||||||
|
# run Ruff linter checks
|
||||||
|
ruff check --preview ./api || status=$?
|
||||||
|
|
||||||
status=${status:-0}
|
status=${status:-0}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user