Skip to content

Commit b71f878

Browse files
committed
Update files and delete specified items
1 parent 5eb4c0f commit b71f878

File tree

1 file changed

+39
-40
lines changed

1 file changed

+39
-40
lines changed

.pre-commit-config.yaml

Lines changed: 39 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,46 @@
1-
exclude: '^data/|.env'
2-
fail_fast: true
1+
exclude: '^$'
2+
fail_fast: true
33
repos:
4-
- repo: local
5-
hooks:
6-
- id: license-header
7-
name: License Header
8-
entry: ./scripts/license.py
9-
language: system
10-
always_run: true
11-
- repo: https://github.com/Yelp/detect-secrets
12-
rev: v1.4.0
4+
- repo: https://github.com/Yelp/detect-secrets
5+
rev: v1.5.0
6+
hooks:
7+
- id: detect-secrets
8+
name: Detect secrets
9+
language: python
10+
entry: detect-secrets-hook
11+
args: [
12+
'--baseline',
13+
'.secrets.baseline',
14+
'--exclude-files',
15+
'(_test\.go$|/testdata/|gomod2nix.toml)',
16+
]
17+
- repo: https://github.com/mrtazz/checkmake.git
18+
rev: 0.2.2
1319
hooks:
14-
- id: detect-secrets
15-
name: Detect secrets
16-
language: python
17-
entry: detect-secrets-hook
18-
args:
19-
- '--baseline'
20-
- '.secrets.baseline'
21-
- repo: https://github.com/sqlfluff/sqlfluff
22-
rev: 3.0.0a6
20+
- id: checkmake
21+
- repo: https://github.com/pre-commit/pre-commit-hooks
22+
rev: v5.0.0
23+
hooks:
24+
- id: check-json
25+
- id: check-merge-conflict
26+
- id: check-yaml
27+
- id: end-of-file-fixer
28+
- id: check-symlinks
29+
- repo: https://github.com/markdownlint/markdownlint
30+
rev: v0.12.0
2331
hooks:
24-
- id: sqlfluff-fix
25-
- repo: https://github.com/syntaqx/git-hooks
26-
rev: v0.0.18
27-
hooks:
28-
- id: forbid-binary
29-
- id: shellcheck
30-
- id: shfmt
32+
- id: markdownlint
3133
- repo: https://github.com/commitizen-tools/commitizen
32-
rev: v3.17.0
34+
rev: v3.31.0
3335
hooks:
3436
- id: commitizen
35-
- repo: https://github.com/pre-commit/pre-commit-hooks
36-
rev: v4.5.0
37+
- id: commitizen-branch
38+
stages: [push]
39+
- repo: local
3740
hooks:
38-
- id: check-json
39-
- id: check-merge-conflict
40-
- id: check-yaml
41-
- id: trailing-whitespace
42-
- id: check-shebang-scripts-are-executable
43-
- id: check-vcs-permalinks
44-
- id: check-toml
45-
- id: check-xml
46-
- id: check-yaml
47-
- id: end-of-file-fixer
41+
- id: makefile
42+
name: Run Makefile Lint
43+
entry: make
44+
args: [pre-commit]
45+
language: system
46+
pass_filenames: false

0 commit comments

Comments
 (0)