/
.pre-commit-config.yaml
67 lines (67 loc) · 1.77 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.6.0"
hooks:
- id: check-yaml
- id: check-added-large-files
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: forbid-submodules
- id: name-tests-test
args: [--pytest-test-first]
- id: pretty-format-json
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.2"
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.10.0"
hooks:
- id: mypy
- repo: https://github.com/detailyang/pre-commit-shell
rev: "v1.0.6"
hooks:
- id: shell-lint
args: [--format=json]
- repo: https://github.com/compilerla/conventional-pre-commit
rev: "v3.2.0"
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/mrtazz/checkmake.git
rev: "0.2.2"
hooks:
- id: checkmake
- repo: https://github.com/gitleaks/gitleaks
rev: "v8.18.2"
hooks:
- id: gitleaks
- repo: https://github.com/google/yamlfmt
rev: "v0.11.0"
hooks:
- id: yamlfmt
- repo: https://github.com/rhysd/actionlint
rev: "v1.6.27"
hooks:
- id: actionlint
- repo: https://github.com/python-poetry/poetry
rev: "1.8.2"
hooks:
- id: poetry-check
- id: poetry-lock
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint