Debian Codegraph @

debian/rust-vendor/codspeed/instrument-hooks/.pre-commit-config.yaml

raw
1 exclude: ^(includes/(valgrind|callgrind|zig)\.h|dist/core\.c)
2 repos:
3 - repo: https://github.com/pre-commit/pre-commit-hooks
4 rev: v6.0.0
5 hooks:
6 - id: trailing-whitespace
7 - id: end-of-file-fixer
8 - id: check-added-large-files
9
10 - repo: local
11 hooks:
12 - id: check-serialized
13 name: Check serialized.zig is up to date
14 entry: bash -c 'cd src/tests/deserialize_rust && diff <(cargo run --quiet 2>/dev/null) serialized.zig'
15 language: system
16 pass_filenames: false
17
18 - repo: https://github.com/batmac/pre-commit-zig
19 rev: v0.3.0
20 hooks:
21 - id: zig-fmt
22 - id: zig-build
23 - id: zig-build-test
24
25 - repo: https://github.com/cpp-linter/cpp-linter-hooks
26 rev: v0.6.1
27 hooks:
28 - id: clang-format
29 files: \.(c|h)$