ci: don't paper over pre-commit failures

The ruff-format check only checks, it doesn't modify the files so our
CI doesn't catch formatting errors.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1272>
This commit is contained in:
Peter Hutterer 2025-07-15 16:25:02 +10:00
parent 79ea713aa3
commit ccc798808a
2 changed files with 2 additions and 2 deletions

View file

@ -258,7 +258,7 @@ pre-commit-hooks:
- python3 -m venv venv
- source venv/bin/activate
- pip3 install pre-commit
- pre-commit run --all-files || true
- pre-commit run --all-files
- git diff --exit-code || (echo "ERROR - Code style errors found, please fix" && false)
#################################################################

View file

@ -246,7 +246,7 @@ pre-commit-hooks:
- python3 -m venv venv
- source venv/bin/activate
- pip3 install pre-commit
- pre-commit run --all-files || true
- pre-commit run --all-files
- git diff --exit-code || (echo "ERROR - Code style errors found, please fix" && false)
#################################################################