repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/google/yamlfmt
rev: v0.16.0
hooks:
- id: yamlfmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.2
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.5.1
hooks:
- id: pyproject-fmt
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
hooks:
- id: mypy
args: []
additional_dependencies:
- "mcp>=1.3.0"
- "rich-click>=1.8.8"
- "types-requests>=2.32.0.20250328"
- "torch>=2.6"
- "pillow>=11.1"
- "pytest>=8.3.4"
- repo: local
hooks:
- id: pytest
name: Run pytest
entry: uv run pytest
language: system
pass_filenames: false
always_run: true