repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.9 hooks: # Run the linter - id: ruff args: [--fix] # Run the formatter - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.11.2 hooks: - id: mypy additional_dependencies: - pydantic==2.9.2 - fastapi==0.115.0 - httpx==0.27.2 - aiosqlite==0.20.0 args: [--config-file=pyproject.toml] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - id: check-merge-conflict