feat: add check-added-large-files and check-merge-conflict pre-commit hooks

This commit is contained in:
yetone
2025-08-02 18:43:23 +08:00
parent f475e95eb7
commit 5fedb3a2c6

View File

@@ -7,6 +7,8 @@ repos:
- id: trailing-whitespace - id: trailing-whitespace
- id: check-ast # 检查Python语法错误 - id: check-ast # 检查Python语法错误
- id: debug-statements # 检查是否有debug语句 - id: debug-statements # 检查是否有debug语句
- id: check-added-large-files
- id: check-merge-conflict
- repo: https://github.com/JohnnyMorganz/StyLua - repo: https://github.com/JohnnyMorganz/StyLua
rev: v2.0.2 rev: v2.0.2
hooks: hooks: