forked from LostArtefacts/TRX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
48 lines (43 loc) · 1.04 KB
/
.pre-commit-config.yaml
File metadata and controls
48 lines (43 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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]
additional_dependencies:
- pyjson5
- jsonschema
- id: additional-lint -a
name: Run additional linters (repo-wide)
entry: tools/additional_lint -a
language: python
stages: [pre-commit]
pass_filenames: false
additional_dependencies:
- pyjson5
- jsonschema
- id: imports
name: imports
entry: tools/sort_imports
language: system
files: \.[ch](pp)?$
- id: update-game-strings
name: Update game strings to match source code
entry: tools/update_game_strings
language: python
stages: [pre-commit]
pass_filenames: false
additional_dependencies:
- pyjson5
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v2.3.0
hooks:
- id: stylua-github