more pre-commit as of v5

This commit is contained in:
jpt 2025-04-16 12:40:08 -05:00
parent 7b95c195df
commit 96da3f8488

View File

@ -5,3 +5,20 @@ repos:
hooks: hooks:
- id: ruff - id: ruff
- id: ruff-format - id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: forbid-submodules
- id: mixed-line-ending
#- id: no-commit-to-branch