repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/ambv/black rev: 25.9.0 hooks: - id: black language_version: python3 - repo: https://github.com/pycqa/flake8 rev: 7.0.0 hooks: - id: flake8 - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.0.272 hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix]