33 lines
927 B
YAML
33 lines
927 B
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
|
|
exclude: .*template.*
|
|
- id: debug-statements
|
|
- id: detect-aws-credentials
|
|
args: [ "--allow-missing-credentials" ]
|
|
- 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: 24.10.0
|
|
hooks:
|
|
- id: black-jupyter
|
|
language_version: python3.12
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
args: [ "--profile", "black", "--filter-files" ]
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.6.9
|
|
hooks:
|
|
- id: ruff
|
|
args: [ "--target-version=py310" ]
|