-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (36 loc) · 1.06 KB
/
.pre-commit-config.yaml
File metadata and controls
40 lines (36 loc) · 1.06 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-yaml
exclude: ^helm\/.*\/templates\/.*|catalog-info.yaml
- id: check-merge-conflict
- id: end-of-file-fixer
exclude: "helm\/blueapi\/README.md"
- repo: local
hooks:
- id: ruff
name: lint with ruff
language: system
entry: ruff check --force-exclude --fix
types: [python]
require_serial: true
- id: ruff-format
name: format with ruff
language: system
entry: ruff format --force-exclude
types: [python]
require_serial: true
- repo: https://github.com/norwoodj/helm-docs
rev: ""
hooks:
- id: helm-docs-built
args:
# Make the tool search for charts only under the `helm` directory
- --chart-search-root=helm
- repo: https://github.com/losisin/helm-values-schema-json
rev: v1.7.2
hooks:
- id: helm-schema
args: ["--values", "helm/blueapi/values.yaml"]