repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-json - id: check-toml - id: check-merge-conflict - id: check-added-large-files - id: detect-private-key - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.9.6 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: local hooks: - id: mypy name: mypy entry: uv run mypy language: system types: [python] pass_filenames: false - id: uv-lock-check name: uv.lock matches pyproject.toml entry: uv lock --check language: system files: ^(pyproject\.toml|uv\.lock)$ pass_filenames: false