Add pre-commit-hooks to pre-commit config

This commit is contained in:
mike8699
2025-01-01 21:18:50 -05:00
parent d81054c43d
commit 88c72f0470
+17
View File
@@ -1,4 +1,21 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
- id: check-json
- id: check-merge-conflict
- id: check-yaml
args:
- --allow-multiple-documents
- id: debug-statements
- id: destroyed-symlinks
- id: mixed-line-ending
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.5
hooks: