repos: # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-added-large-files - id: mixed-line-ending - repo: local hooks: - id: update-license name: update license pass_filenames: false language: system always_run: true entry: > sh -c ' (curl -fsSL https://wfxr.mit-license.org/2017/license.txt && echo) > ./LICENSE && git add ./LICENSE || { git checkout ./LICENSE && exit 1; } ' - repo: https://github.com/rvben/rumdl-pre-commit rev: v0.2.7 hooks: - id: rumdl-fmt # Auto-format and fail if issues remain - repo: https://github.com/rhysd/actionlint rev: v1.7.12 hooks: - id: actionlint