Xavier Claessens
cedeef3cb1
pre-commit: Workaround broken shebang on Windows
...
Using "python" in the shebang breaks those scripts when ran outside of
pre-commit venv.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9080 >
2025-05-27 12:00:28 +00:00
L. E. Segovia
88cead25ee
hooks: undelete the Python/docs precommit hook
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8432 >
2025-02-07 14:11:23 +00:00
Andoni Morales Alastruey
d0ab931628
pre-commit: install gst-indent through pip
...
Depends on: https://gitlab.freedesktop.org/gstreamer/gst-indent/-/merge_requests/13
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8402 >
2025-02-05 17:43:57 +00:00
L. E. Segovia
2b5ab13f29
ci: pre-commit: Fix the gst-indent hook not implementing filtering criteria
...
There's a different way to list the files between the former pre-commit
hook (which ran gst-indent directly on the output of git diff-index)
and the former CI check job (which ran gst-indent-all wholesale).
It can be easily addressed by detecting CI_PROJECT_NAME at listing time.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8409 >
2025-02-05 09:57:50 +00:00
Andoni Morales Alastruey
3213e641ec
hooks: use pre-commit to run all hooks
...
Migrate all the pre-commit and commit-msg hooks to use
pre-commit (https://pre-commit.com/ )
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5192 >
2025-01-31 19:15:25 -03:00