repos: - repo: https://github.com/psf/black rev: 24.3.0 hooks: - id: black language_version: python3 - repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.14.5 hooks: - id: ruff args: ["--fix"] - repo: local hooks: - id: python-compile name: python compile check entry: tools/python_compile_check.sh language: script files: ".*\\.py$" pass_filenames: false always_run: true - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace - id: check-yaml - id: check-added-large-files