-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
42 lines (42 loc) · 1.19 KB
/
.pre-commit-config.yaml
File metadata and controls
42 lines (42 loc) · 1.19 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
# https://pre-commit.com/
default_language_version:
python: python3
default_stages: [pre-commit]
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.13
hooks:
- id: ruff
name: ruff
description: "Run 'ruff' for Python linting"
entry: ruff check --force-exclude --fix
language: python
types_or: [python, pyi, jupyter]
require_serial: true
additional_dependencies: []
- id: ruff-format
name: ruff-format
description: "Run 'ruff format' for Python formatting"
entry: ruff format --force-exclude
language: python
types_or: [python, pyi, jupyter]
require_serial: true
additional_dependencies: []
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.29
hooks:
- id: gofmt
- id: golangci-lint
- id: helmlint
files: ^helm/ggbridge/
- repo: https://github.com/norwoodj/helm-docs
rev: v1.14.2
hooks:
- id: helm-docs
args:
- --chart-search-root=helm/ggbridge
- repo: https://github.com/gitguardian/ggshield
rev: v1.40.0
hooks:
- id: ggshield
language_version: python3