repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.4.2 # Replace with the latest version hooks: - id: ruff name: ruff check args: ["check"] - id: ruff name: ruff format args: ["format"] - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.9.0 # Replace with the latest version hooks: - id: mypy args: - "--allow-redefinition" - "import-untyped" - "src/"