pre-commit

This commit is contained in:
jpt 2025-05-04 19:05:29 -05:00
parent d24160cfa9
commit 72588fd9c6

24
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,24 @@
# updated 2025-04-16
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.5
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