未验证 提交 5533db15 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

chore: add pre-commit hook (#21858)

上级 9455087d
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: check-json
- id: end-of-file-fixer
- id: trailing-whitespace
repos:
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
repos:
- repo: https://github.com/pocc/pre-commit-hooks
rev: master
hooks:
- id: cppcheck
args: ["--error-exitcode=0"]
repos:
- repo: https://github.com/crate-ci/typos
rev: v1.13.6
hooks:
- id: typos-src
repos:
- repo: https://github.com/TomWright/dasel
rev: v2.3.4
hooks:
- id: dasel-validate
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册