Skip to content

Commit

Permalink
Run local verifying targets too before committing
Browse files Browse the repository at this point in the history
- verify-boilerplate
- verify-modules
- verify-shellcheck
- verify-tiltfile
  • Loading branch information
nawazkh committed Jul 13, 2023
1 parent dd692a8 commit 06a119a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,31 @@ repos:
rev: v2.17.2
hooks:
- id: pylint
- repo: local
hooks:
- id: make-verify-boilerplate
name: Run make verify-boilerplate
description: Runs `make verify-boilerplate` to check for boilerplate headers.
entry: make verify-boilerplate
language: system
- repo: local
hooks:
- id: make-verify-modules
name: Run make verify-modules
description: Runs `make verify-modules` to verify go.sum go.mod are the latest.
entry: make verify-modules
language: system
- repo: local
hooks:
- id: make-verify-shellcheck
name: Run make verify-shellcheck
description: Runs `make verify-shellcheck` to verify shell files are passing lint.
entry: make verify-shellcheck
language: system
- repo: local
hooks:
- id: make-verify-tiltfile
name: Run make verify-tiltfile
description: Runs `make verify-tiltfile` to verify Tiltfile format.
entry: make verify-tiltfile
language: system

0 comments on commit 06a119a

Please sign in to comment.