-
Notifications
You must be signed in to change notification settings - Fork 455
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
71 lines (66 loc) · 1.77 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
71 lines (66 loc) · 1.77 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: CC0-1.0
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
args:
- --enforce-all
- id: check-case-conflict
- id: check-illegal-windows-names
- id: check-yaml
- id: end-of-file-fixer
exclude: |
(?x)(
^scenes/quests/story_quests/(?!stella/)
|
\.import$
)
exclude_types: [svg, piskel]
- id: trailing-whitespace
exclude: |
(?x)(
^scenes/quests/story_quests/(?!stella/)
|
\.import$
)
exclude_types: [svg, piskel]
- repo: https://github.com/editorconfig-checker/editorconfig-checker
rev: v3.4.0
hooks:
- id: editorconfig-checker
exclude: |
(?x)^(
scenes/quests/story_quests/(?!stella/)
)
- repo: local
hooks:
- id: check-image-size
name: check image dimensions
entry: python tools/check-image-size.py
language: python
additional_dependencies: [Pillow]
types_or: [png, jpeg, webp]
- repo: https://github.com/Scony/godot-gdscript-toolkit
rev: 4.5.0
hooks:
- id: gdformat
exclude: |
(?x)^(
scenes/quests/story_quests/(?!stella/)
)
- id: gdlint
exclude: |
(?x)^(
script_templates/|
scenes/quests/story_quests/(?!stella/)
)
exclude: |
(?x)^(
addons/dialogue_manager/(.*)|
addons/input_helper/(.*)|
addons/phantom_camera/(.*)|
)$