mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
add code-spell and secrects precommit
This commit is contained in:
parent
1bc4b8a680
commit
b3065841c1
6 changed files with 579 additions and 5 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue