.pre-commit-config.yaml
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: no-commit-to-branch
- id: check-added-large-files
exclude: pixi\.lock$
- id: check-json
exclude: \.vscode/.*\.json$
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/google/yamlfmt
rev: v0.12.1
hooks:
- id: yamlfmt
- repo: https://github.com/mdekstrand/taplo-pre-commit
rev: v0.1.2
hooks:
- id: taplo-format
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.9
hooks:
# Run the linter.
- id: ruff
args: [--fix]
# Run the formatter.
- id: ruff-format