42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: check-ast
|
|
- id: check-case-conflict
|
|
- id: check-json
|
|
- id: check-merge-conflict
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: requirements-txt-fixer
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
rev: 25.1.0
|
|
hooks:
|
|
- id: black-jupyter
|
|
language_version: python3.12
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 6.0.1
|
|
hooks:
|
|
- id: isort
|
|
args: [ "--profile", "black", "--filter-files" ]
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.11.13
|
|
hooks:
|
|
- id: ruff
|
|
args: [ "--target-version=py312" ]
|
|
- repo: https://github.com/kynan/nbstripout
|
|
rev: 0.8.1
|
|
hooks:
|
|
- id: nbstripout
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.24.1
|
|
hooks:
|
|
- id: validate-pyproject
|
|
- repo: https://github.com/Yelp/detect-secrets
|
|
rev: v1.5.0
|
|
hooks:
|
|
- id: detect-secrets
|