mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 05:40:04 +01:00
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> |
||
|---|---|---|
| .. | ||
| ci.template | ||
| config.yml | ||
| libinput.spec.in | ||
| meson-build.sh | ||
| scanbuild-plist-to-junit.py | ||
| scanbuild-wrapper.sh | ||
| start-in-systemd.sh | ||
| whitespace-check.py | ||