-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (33 loc) · 904 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (33 loc) · 904 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
31
32
33
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: git-dirty
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
hooks:
- id: pretty-format-golang
additional_dependencies:
- setuptools # Add this line
- repo: https://github.com/mattlqx/pre-commit-sign
rev: v1.2.0
hooks:
- id: sign-commit
- repo: https://github.com/syntaqx/git-hooks
rev: v0.0.18
hooks:
- id: forbid-binary
exclude: ^docs/img/ # Exclude all files in docs/img directory
- id: go-test
- id: go-mod-tidy
- repo: local
hooks:
- id: lint
name: lint-check
entry: make lint
language: system
files: \.go