generated from devnw/oss-template
/
.pre-commit-config.yaml
47 lines (47 loc) · 1.17 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
exclude: '^data/|.env'
fail_fast: true
repos:
- repo: local
hooks:
- id: license-header
name: License Header
entry: ./scripts/license.py
language: system
always_run: true
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
hooks:
- id: detect-secrets
name: Detect secrets
language: python
entry: detect-secrets-hook
args:
- '--baseline'
- '.secrets.baseline'
- repo: https://github.com/sqlfluff/sqlfluff
rev: 3.0.0a6
hooks:
- id: sqlfluff-fix
- repo: https://github.com/syntaqx/git-hooks
rev: v0.0.18
hooks:
- id: forbid-binary
- id: shellcheck
- id: shfmt
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.17.0
hooks:
- id: commitizen
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: trailing-whitespace
- id: check-shebang-scripts-are-executable
- id: check-vcs-permalinks
- id: check-toml
- id: check-xml
- id: check-yaml
- id: end-of-file-fixer