Debian Codegraph @

.pre-commit-config.yaml

raw symbols SCIP
1 ---
2 # See https://pre-commit.com for more information
3 # See https://pre-commit.com/hooks.html for more hooks
4 exclude: >
5 (?x)^(
6 .github/|AUTHORS|ChangeLog|INSTALLING|LICENSE|README|
7 appveyor.yml|build/airpcap.dll.def|contrib/|lib/csharp|
8 lib/radiotap|include/aircrack-ng/third-party|patches/|
9 test/|scripts/|manpages/|apparmor/
10 )
11
12 fail_fast: false
13
14 repos:
15 - repo: https://github.com/pre-commit/pre-commit-hooks
16 rev: v4.0.1
17 hooks:
18 - id: trailing-whitespace
19 exclude_types: [asm]
20 - id: check-added-large-files
21 - id: mixed-line-ending
22 exclude_types: [asm]
23 - id: check-byte-order-marker
24 - id: check-executables-have-shebangs
25 - id: check-merge-conflict
26
27 - repo: https://github.com/pocc/pre-commit-hooks
28 rev: v1.3.5
29 hooks:
30 - id: clang-format
31 args: ["--style=file", "-i"]
32
33 - repo: https://github.com/shellcheck-py/shellcheck-py
34 rev: v0.7.2.1
35 hooks:
36 - id: shellcheck
37 files: 'test/|scripts/|build/'
38
39 - repo: https://github.com/hadolint/hadolint
40 rev: v2.12.0
41 hooks:
42 - id: hadolint
43 files: 'Dockerfile|Dockerfile.release'