-
Notifications
You must be signed in to change notification settings - Fork 30
/
.pre-commit-config.yaml
51 lines (44 loc) · 1.24 KB
/
.pre-commit-config.yaml
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
---
# This file configures https://pre-commit.com/
# to use specific hooks and options.
fail_fast: false
repos:
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 1.7.1
hooks:
- id: forbid-binary
- id: git-check # Configure in .gitattributes
- id: git-dirty # Configure in .gitignore
- id: shellcheck
- id: shfmt
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.11.1
hooks:
- id: yamllint
args: ['--format', 'parsable', '--strict']
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-symlinks
- id: check-vcs-permalinks
- id: detect-private-key
- id: requirements-txt-fixer
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.5
hooks:
- id: forbid-crlf
- id: forbid-tabs
- repo: https://github.com/jorisroovers/gitlint
rev: v0.10.0
hooks:
- id: gitlint
stages: [commit-msg]
- id: gitlint
entry: gitlint --commits upstream/master..
exclude: .*
always_run: true
stages: [manual]