mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 04:37:58 +03:00
34 lines
740 B
YAML
34 lines
740 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: clang-format
|
|
name: clang-format
|
|
entry: clang-format
|
|
args: ["-style=file", "-i"]
|
|
language: system
|
|
files: \.[ch](pp)?$
|
|
|
|
- id: additional-lint
|
|
name: Run additional linters
|
|
entry: tools/additional_lint
|
|
language: python
|
|
stages: [pre-commit]
|
|
|
|
- id: additional-lint -a
|
|
name: Run additional linters (repo-wide)
|
|
entry: tools/additional_lint -a
|
|
language: python
|
|
stages: [pre-commit]
|
|
pass_filenames: false
|
|
|
|
- id: imports
|
|
name: imports
|
|
entry: tools/sort_imports
|
|
language: system
|
|
files: \.[ch](pp)?$
|
|
|
|
- id: update-gameflow
|
|
name: Update game flow files
|
|
entry: tools/update_gameflow
|
|
language: python
|
|
stages: [pre-commit]
|