add code-spell and secrects precommit

This commit is contained in:
dmahan93 2026-02-27 20:17:19 -06:00
parent 1bc4b8a680
commit b3065841c1
6 changed files with 579 additions and 5 deletions

View file

@ -6,6 +6,7 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
@ -23,3 +24,15 @@ repos:
hooks:
- id: flake8
args: ["--max-line-length=120", "--extend-ignore=E203,W503"]
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args: ["--skip", "*.csv,*.html", "-L", "te,ans,sems,lsat,anc,strokin,lod,nam,ques,unparseable,rouge,oll,managin,expressio,re-declare"]