repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.3.4 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.8.0 hooks: - id: mypy additional_dependencies: - torch>=2.2 - numpy>=1.26 args: [--ignore-missing-imports] - repo: https://github.com/compilerla/conventional-pre-commit rev: v3.1.0 hooks: - id: conventional-pre-commit stages: [commit-msg] args: [feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert]