[git] add muon hooks

This commit is contained in:
odrling 2024-04-10 10:00:52 +02:00
parent 16b21a253a
commit dd82561a91
No known key found for this signature in database
GPG key ID: EC907F69A27A90C5

View file

@ -35,3 +35,5 @@ runif "ruff" ruff check .
runif "pyright" pyright .
runif "clangformat" 'fd --glob \*.c | xargs clang-format -Werror -n'
runif "gofmt" '[ "$(gofmt -l . | wc -l)" -eq 0 ] || (gofmt -l -d .; exit 1)'
runif "muonfmt" "fd meson.build | xargs muon fmt -q"
runif "muon" "muon analyze"