forked from gpustack/gpustack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (30 loc) · 824 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (30 loc) · 824 Bytes
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
name: check-yaml (safe)
exclude: ^(mkdocs\.yml$|charts/.*/templates/)
- id: check-yaml
name: check-yaml (unsafe for mkdocs)
files: ^mkdocs\.yml$
args: [ --unsafe ]
- id: debug-statements
- id: end-of-file-fixer
exclude: "CNAME"
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
exclude: ".*/migrations"
args: [ --max-complexity=15 ]
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
args: [ --config, pyproject.toml ]
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
args: [ -x ]