repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.15.17 hooks: - id: ruff args: [--fix] types_or: [python, pyi] - id: ruff-format types_or: [python, pyi] - repo: https://github.com/pre-commit/mirrors-mypy rev: v2.1.0 hooks: - id: mypy args: [--no-strict-optional, --ignore-missing-imports, --follow-imports=silent] additional_dependencies: ["types-redis"] files: ^app/