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