mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
updates: - [github.com/psf/black-pre-commit-mirror: 26.3.0 → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/26.3.0...26.3.1) - [github.com/astral-sh/ruff-pre-commit: v0.15.5 → v0.15.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.5...v0.15.10)
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- 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.3.1
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.15.10
|
|
hooks:
|
|
- id: ruff
|
|
args: ["--select=I", "--fix"] # Only run import-related rules
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: 7.3.0
|
|
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.2
|
|
hooks:
|
|
- id: codespell
|
|
args: ["--skip", "*.csv,*.html", "-L", "te,ans,sems,lsat,anc,strokin,lod,nam,ques,unparseable,rouge,oll,managin,expressio,re-declare"]
|