repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.15.11 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: check-yaml - id: check-json - id: end-of-file-fixer exclude: ^notebooks/ - id: trailing-whitespace exclude: ^notebooks/ - id: check-added-large-files args: ["--maxkb=512"] # ~data/model artifacts are DVC-tracked, not committed - id: detect-private-key - repo: https://github.com/asottile/pyupgrade rev: v3.17.0 hooks: - id: pyupgrade args: [--py310-plus] - repo: https://github.com/econchick/interrogate rev: 1.7.0 hooks: - id: interrogate args: [-vv, -i, --fail-under=20, --exclude-module=__init__, --ignore-module=__main__]