repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-yaml - id: check-added-large-files args: ['--maxkb=10240'] - id: check-merge-conflict - id: end-of-file-fixer - id: trailing-whitespace # ruff replaces black, isort and flake8. Keep rev equal to the ruff pin in pyproject.toml. - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.16.10 hooks: - id: ruff-check args: [--fix] - id: ruff-format