Select Git revision
.pre-commit-config.yaml
.pre-commit-config.yaml 613 B
repos:
- repo: https://github.com/fastai/nbdev
rev: 2.3.31
hooks:
- id: nbdev_clean
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.6.9'
hooks:
- id: ruff
exclude: ^(notebooks/analyse/|notebooks/code_CASD/|notebooks/analyses/)
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
args: [--safe]
# Check notebook formating
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.8.7
hooks:
- id: nbqa-black
- id: nbqa-pyupgrade
args: [--py37-plus]
- id: nbqa-ruff
args: [--fix, --exit-non-zero-on-fix]