代码拉取完成,页面将自动刷新
repos:
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.3.5
hooks:
- id: go-fmt
- id: go-lint
- id: validate-toml
- id: no-go-testing
- repo: local
hooks:
- id: copyright_checker
name: copyright_checker
entry: python ./scripts/pre-commit/copyright.py
language: system
files: \.(go|py|sh)$
- repo: local
hooks:
- id: documentation_checker
name: documentation_checker
entry: bash ./scripts/pre-commit/docgen.sh
language: system
- repo: local
hooks:
- id: google_style_java
name: google_style_java
entry: bash ./scripts/pre-commit/google_java_format.sh
language: system
files: \.(java)$
verbose: true
- repo: local
hooks:
- id: jsbeautifier
name: jsbeautifier
entry: bash ./scripts/pre-commit/jsbeautifier.sh
language: system
files: \.(js)$
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.29.0
hooks:
- id: yapf
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort
- repo: local
hooks:
- id: pylint
name: pylint
entry: bash ./scripts/pre-commit/pylint.sh
language: system
files: \.py$
verbose: true
- repo: local
hooks:
- id: shellcheck
name: shellcheck
entry: bash ./scripts/pre-commit/shellcheck.sh
language: system
files: \.(bash|sh)$
verbose: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。