Skip to content

Commit eb8a272

Browse files
committed
update .pre-commit config
- remove lint checks since we run at PRs - remove lint checks since we run verify job - switch shellcheck to latest - update .pre-commit with the latest versions of the binaries
1 parent ca18c2c commit eb8a272

File tree

1 file changed

+9
-46
lines changed

1 file changed

+9
-46
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,24 @@
11
repos:
22
- repo: https://github.com/gitleaks/gitleaks
3-
rev: v8.16.3
3+
rev: v8.21.1
44
hooks:
55
- id: gitleaks
6-
- repo: https://github.com/jumanjihouse/pre-commit-hooks
7-
rev: 3.0.0
6+
- repo: https://github.com/koalaman/shellcheck-precommit
7+
rev: v0.10.0
88
hooks:
99
- id: shellcheck
1010
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v4.4.0
11+
rev: v5.0.0
1212
hooks:
1313
- id: end-of-file-fixer
1414
- id: trailing-whitespace
15+
- id: detect-private-key
1516
- repo: https://github.com/pylint-dev/pylint
16-
rev: v3.0.2
17+
rev: v3.3.1
1718
hooks:
1819
- id: pylint
1920
exclude: ^hack/boilerplate/boilerplate.py$
20-
- repo: local
21-
hooks:
22-
- id: make-verify-boilerplate
23-
name: Verify boilerplate
24-
description: Runs `make verify-boilerplate` to check for boilerplate headers.
25-
entry: make verify-boilerplate
26-
language: system
27-
- repo: local
28-
hooks:
29-
- id: make-verify-modules
30-
name: Verify modules
31-
description: Runs `make verify-modules` to verify go.sum go.mod are the latest.
32-
entry: make verify-modules
33-
language: system
34-
- repo: local
35-
hooks:
36-
- id: make-verify-shellcheck
37-
name: Verify shellcheck
38-
description: Runs `make verify-shellcheck` to verify shell files are passing lint.
39-
entry: make verify-shellcheck
40-
language: system
41-
- repo: local
42-
hooks:
43-
- id: make-verify-tiltfile
44-
name: Verify tiltfile
45-
description: Runs `make verify-tiltfile` to verify Tiltfile format.
46-
entry: make verify-tiltfile
47-
language: system
48-
- repo: local
49-
hooks:
50-
- id: make-codespell
51-
name: Verify codespell
52-
description: Runs `make verify-codespell` to verify codespell format.
53-
entry: make verify-codespell
54-
language: system
55-
- repo: local
21+
- repo: https://github.com/jumanjihouse/pre-commit-hooks
22+
rev: 3.0.0
5623
hooks:
57-
- id: make-lint
58-
name: Lint codebase
59-
description: Runs `make lint` to check for linter errors.
60-
entry: make lint
61-
language: system
24+
- id: forbid-binary

0 commit comments

Comments
 (0)