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>
This commit is contained in:
parent
bd62300d22
commit
d0ab931628
@ -19,6 +19,7 @@ repos:
|
|||||||
entry: ./scripts/gst-indent-all.py
|
entry: ./scripts/gst-indent-all.py
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
types_or: ["c", "c++"]
|
types_or: ["c", "c++"]
|
||||||
|
additional_dependencies: ["gst-indent==1.0.0"]
|
||||||
# The rust hook uses cargo fmt, which requires a Cargo.toml
|
# The rust hook uses cargo fmt, which requires a Cargo.toml
|
||||||
# We use a local hook to run rustfmt directly
|
# We use a local hook to run rustfmt directly
|
||||||
- id: rustfmt
|
- id: rustfmt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user