diff options
| author | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:23 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:23 +0200 |
| commit | aa308069bebf2d5a3200728caa69a76137c03d8b (patch) | |
| tree | c0ba2281e801c4720a0d8a5e5ee943688234f088 /.pre-commit-config.yaml | |
| parent | 0a4b2c29da4ccf259bbcea3298d15abebb94348f (diff) | |
| parent | 537bfce2bda471c92caabd388589230200891509 (diff) | |
Update upstream source from tag 'upstream/1.58_rc1'
Update to upstream version '1.58~rc1' with Debian dir 451489c9234e2b6b7c2f41ca6670287ea3ac3efd
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..7ef2373e --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,28 @@ +repos: + - repo: local + hooks: + - id: nm-clang-format + name: clang-format (CI version, container) + entry: ./contrib/scripts/nm-code-format-container.sh -n + language: script + files: \.[ch]$ + require_serial: true + exclude: | + (?x)^( + src/c-list/| + src/c-rbtree/| + src/c-siphash/| + src/c-stdaux/| + src/libnm-std-aux/unaligned(-fundamental)?\.h| + src/libnm-systemd-core/src/| + src/libnm-systemd-shared/src/| + src/linux-headers/| + src/n-acd/| + src/n-dhcp4/ + ) + - id: nm-potfiles + name: POTFILES.in consistency + entry: src/tests/check-potfile-list.py + language: script + pass_filenames: false + always_run: true |