2023-03-03 09:29:33 +00:00
|
|
|
ci:
|
|
|
|
autofix_prs: false
|
|
|
|
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-case-conflict
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-shebang-scripts-are-executable
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-json
|
|
|
|
- id: check-xml
|
|
|
|
- id: check-yaml
|
|
|
|
- id: trailing-whitespace
|
|
|
|
args: [--markdown-linebreak-ext=md]
|
|
|
|
- id: end-of-file-fixer
|
2023-05-19 09:30:27 +00:00
|
|
|
exclude: "(.key|.interp|.tokens)$"
|
2023-03-03 09:44:36 +00:00
|
|
|
|
2024-03-14 09:29:36 +00:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: go-unit-tests
|
|
|
|
name: go unit tests
|
|
|
|
entry: make test GOFLAGS=''
|
|
|
|
pass_filenames: false
|
|
|
|
types: [go]
|
|
|
|
language: system
|
|
|
|
|
2024-01-17 14:42:01 +00:00
|
|
|
- repo: local
|
2023-03-03 09:44:36 +00:00
|
|
|
hooks:
|
2024-01-17 14:42:01 +00:00
|
|
|
- id: make-lint
|
|
|
|
name: Run Make Lint
|
|
|
|
entry: make lint
|
|
|
|
language: system
|
|
|
|
pass_filenames: false
|