-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
88 lines (77 loc) · 2.18 KB
/
.pre-commit-config.yaml
File metadata and controls
88 lines (77 loc) · 2.18 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
fail_fast: true
repos:
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
rev: v0.9.0
hooks:
- id: pre-commit-update
# Requires hadolint binary on local machine.
- repo: https://github.com/hadolint/hadolint
rev: v2.14.0
hooks:
- id: hadolint
args:
- --config
- .config/.hadolint.yaml
- Dockerfile
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
args: [--maxkb=11000, --enforce-all]
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: mixed-line-ending
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.2
hooks:
- id: mypy
args:
- --install-types
- --non-interactive
- --config-file=pyproject.toml
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
args:
- -x
# - repo: https://github.com/emmeowzing/dynamic-continuation-orb
# rev: v3.6.8
# hooks:
# - id: circleci-config-validate
- repo: https://github.com/python-poetry/poetry
rev: 2.2.1
hooks:
- id: poetry-check
- id: poetry-lock
# - repo: https://github.com/PyCQA/pylint
# rev: v3.3.8
# hooks:
# - id: pylint
# args:
# - --rcfile=.pylintrc
# - src
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.24.1
hooks:
- id: validate-pyproject
- repo: https://github.com/premiscale/pre-commit-hooks
rev: v0.0.9
hooks:
- id: msg-issue-prefix
- repo: https://github.com/jsh9/pydoclint
rev: 0.8.1
hooks:
- id: pydoclint
args:
- --style=google
- --config=pyproject.toml
- repo: https://github.com/docker-compose-linter/pre-commit-dclint
rev: v3.1.0 # Matches the dclint version, use the sha or tag you want to point at
hooks:
- id: dclint
# Optional: regex override for compose files
files: ^(docker-)?compose\.ya?ml$
# Optional: enable autofix on commit
args: [--fix]