default_language_version: python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 # Use the ref you want to point at hooks: - id: trailing-whitespace - id: check-xml # - id: ...