introduce precommit

这个提交包含在:
qingxu fu
2023-11-19 22:03:36 +08:00
父节点 b506c06542
当前提交 74f70305b7

10
.pre-commit-config.yaml 普通文件
查看文件

@@ -0,0 +1,10 @@
# 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: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files