repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: trailing-whitespace exclude: > (?x)^( ^compiler/test/runnable/extra-files/.*$| ^compiler/test/compilable/extra-files/.*$| ^druntime/src/etc/valgrind/.*\.h$| )$ - id: end-of-file-fixer exclude: > (?x)^( ^compiler/test/runnable/extra-files/.*$| ^compiler/test/compilable/extra-files/.*$| ^druntime/src/etc/valgrind/.*\.h$| )$ - id: check-merge-conflict - id: check-added-large-files - id: detect-private-key - id: no-commit-to-branch args: [--branch, master] - repo: https://github.com/sirosen/check-jsonschema rev: 0.23.0 hooks: - id: check-github-workflows