mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-01 01:10:09 +01:00
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:
parent
79ea713aa3
commit
ccc798808a
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
#################################################################
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
#################################################################
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue