From 96da3f84886d74e5e5c4cc3db657b15ff549d0ee Mon Sep 17 00:00:00 2001 From: jpt Date: Wed, 16 Apr 2025 12:40:08 -0500 Subject: [PATCH] more pre-commit as of v5 --- .pre-commit-config.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3cea51..fe6c7cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,3 +5,20 @@ repos: hooks: - id: ruff - 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