.pre-commit-config.yaml
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.29.0
hooks:
- id: commitizen
- repo: local
hooks:
- id: validate-codecov
name: Validate Codecov
language: system
entry: bash ./scripts/validate_codecov.sh
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
- repo: local
hooks:
- id: lint-code
name: Lint code
language: system
entry: bash ./scripts/run_lint.sh
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.5
hooks:
# Run the formatter.
- id: ruff-format