--- default_language_version: python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-added-large-files - id: check-byte-order-marker - id: check-case-conflict - id: check-merge-conflict - id: check-shebang-scripts-are-executable - id: check-symlinks - id: check-toml - id: check-yaml - id: detect-private-key - id: end-of-file-fixer - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/rbubley/mirrors-prettier rev: v3.5.1 hooks: - id: prettier - repo: https://github.com/pappasam/toml-sort rev: v0.24.2 hooks: - id: toml-sort-fix - repo: https://github.com/srstevenson/nb-clean rev: 4.0.1 hooks: - id: nb-clean args: [--preserve-cell-outputs, --remove-empty-cells] - repo: https://github.com/henryiii/validate-pyproject-schema-store rev: 2025.02.10 hooks: - id: validate-pyproject - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.9.6 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror rev: 25.1.0 hooks: - id: black - repo: https://github.com/astral-sh/uv-pre-commit rev: 0.6.0 hooks: - id: uv-lock