| exclude: ^tests/ref/ | |
| repos: | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v5.0.0 | |
| hooks: | |
| - id: check-case-conflict | |
| - id: check-executables-have-shebangs | |
| - id: check-illegal-windows-names | |
| - id: check-shebang-scripts-are-executable | |
| - id: check-yaml | |
| - id: end-of-file-fixer | |
| - id: fix-byte-order-marker | |
| - id: mixed-line-ending | |
| - id: trailing-whitespace | |
| - repo: local | |
| hooks: | |
| - id: aarch64-asm-indent | |
| name: fix aarch64 assembly indentation | |
| files: ^.*/aarch64/.*\.S$ | |
| language: script | |
| entry: ./tools/check_arm_indent.sh --apply | |
| pass_filenames: false |