代码拉取完成,页面将自动刷新
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
exclude: |
(?x)^(
charts/.*/templates/.*|
mkdocs.yml
)$
args:
- --multi
- id: check-added-large-files
- repo: https://github.com/Bahjat/pre-commit-golang
rev: v1.0.2
hooks:
- id: gofumpt
types: [go]
exclude: ".*/zz_generated.*\\.go$"
- id: golangci-lint
types: [go]
args:
- --new-from-rev=HEAD
- repo: local
hooks:
- id: generate-deep-copy
name: generated deep-copy code must be up-to-date
language: system
pass_filenames: false
entry: make manifests
- id: run-tests
name: Run go tests
language: system
pass_filenames: false
entry: make test
- id: sync-chart
name: Run make sync-chart
language: system
pass_filenames: false
entry: make sync-chart
- id: check-docs
name: check docs builds
language: system
pass_filenames: false
entry: mkdocs build -s
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。