TRX/.pre-commit-config.yaml

35 lines
740 B
YAML
Raw Permalink Normal View History

2021-10-19 16:54:06 +02:00
repos:
- repo: local
hooks:
- id: clang-format
name: clang-format
entry: clang-format
args: ["-style=file", "-i"]
language: system
2021-11-14 23:59:19 +01:00
files: \.[ch](pp)?$
2024-04-09 18:25:23 +02:00
- id: additional-lint
name: Run additional linters
entry: tools/additional_lint
language: python
2025-01-19 01:10:46 +01:00
stages: [pre-commit]
2024-09-17 23:27:12 +02:00
2025-01-15 14:13:32 +01:00
- id: additional-lint -a
name: Run additional linters (repo-wide)
entry: tools/additional_lint -a
language: python
2025-01-19 01:10:46 +01:00
stages: [pre-commit]
2025-01-15 14:13:32 +01:00
pass_filenames: false
2024-09-17 23:27:12 +02:00
- id: imports
name: imports
entry: tools/sort_imports
language: system
files: \.[ch](pp)?$
2024-10-02 10:23:23 +02:00
- id: update-gameflow
name: Update game flow files
entry: tools/update_gameflow
language: python
2025-01-19 01:10:46 +01:00
stages: [pre-commit]