-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
45 lines (44 loc) · 1.17 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
44
45
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.4.2
hooks:
- id: lintr
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.5
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
#- repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.4.0
# hooks:
# - id: mypy
# args: [--strict]
# additional_dependencies: []
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.3.5
hooks:
- id: cppcheck
args: [--language=c++, --std=c++20]
- id: clang-tidy
args: [--extra-arg=-std=c++20]
- repo: https://github.com/troian/pre-commit-golang
rev: ab57c5db44bbeeae1031a2e9c2889367f8387d59
hooks:
- id: go-fmt
- id: go-vet
- repo: https://github.com/mrtazz/checkmake
rev: 0.2.2
hooks:
- id: checkmake
ci:
skip: [cppcheck, clang-tidy] # FIXME: #17