repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - id: check-toml - id: check-json - repo: https://github.com/rhysd/actionlint rev: v1.7.6 hooks: - id: actionlint - repo: https://github.com/tox-dev/pyproject-fmt rev: v2.5.0 hooks: - id: pyproject-fmt - repo: https://github.com/psf/black rev: 24.10.0 hooks: - id: black - repo: https://github.com/adamchainz/blacken-docs rev: "1.19.1" hooks: - id: blacken-docs - repo: https://github.com/pycqa/isort rev: 5.13.2 hooks: - id: isort - repo: https://github.com/python-poetry/poetry rev: 1.8.5 hooks: - id: poetry-check - id: poetry-lock - repo: https://github.com/google/yamlfmt rev: v0.15.0 hooks: - id: yamlfmt - repo: https://github.com/PyCQA/flake8 rev: 7.1.1 hooks: - id: flake8 args: ["--max-line-length", "88"] - repo: local hooks: - id: readme name: rendering readme entry: poetry run python docs/readme.py pass_filenames: false always_run: true language: system