libinput/.gitlab-ci
Peter Hutterer dd78765674 pre-commit: add a hook for checking for duplicate empty lines
It's a bit annoying to only find those during a CI pipeline run, so
let's add a hook for it. Pre-commit doesn't seem to have something
useful for duplicate line detection so let's hack up a quick script
that can do this for us, together with the other whitespace checks in
the CI so we're consistent.

Excluded from the duplicate line checks are anything "Not C" and the
"include/" directory since we don't control those files.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1154>
2025-03-11 11:41:34 +00:00
..
ci.template pre-commit: add a hook for checking for duplicate empty lines 2025-03-11 11:41:34 +00:00
config.yml CI: bump to Fedora 41 2024-12-23 07:17:31 +00:00
libinput.spec.in tools: add libinput analyze buttons for button state analysis 2024-06-18 07:43:02 +00:00
meson-build.sh CI: add a comment to the meson build helper 2023-05-30 15:17:14 +10:00
scanbuild-plist-to-junit.py gitlab CI: add a JUnit XML report for scan-build 2021-05-12 13:31:42 +10:00
scanbuild-wrapper.sh gitlab CI: add a JUnit XML report for scan-build 2021-05-12 13:31:42 +10:00
start-in-systemd.sh gitlab CI: explicitly run the test in the systemd service 2023-02-13 09:43:47 +10:00
whitespace-check.py pre-commit: add a hook for checking for duplicate empty lines 2025-03-11 11:41:34 +00:00