summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2024-02-27 21:09:04 +0100
committerRaul Santos <raulsntos@gmail.com>2024-03-02 08:25:48 +0100
commit97851f03401537b7fa0affc50a5800eda351c4b8 (patch)
tree65c983be347a5423cfeeb492ef9d3722ee0f019d /.pre-commit-config.yaml
parentf5dbbf7fd067bbb435989a6839fe37e03e4ba057 (diff)
downloadredot-engine-97851f03401537b7fa0affc50a5800eda351c4b8.tar.gz
Move dotnet-format script to pre-commit
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3493219ea7..1962231d8a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -47,3 +47,9 @@ repos:
platform/android/java/lib/src/org/godotengine/godot/gl/EGLLogWrapper.*|
platform/android/java/lib/src/org/godotengine/godot/utils/ProcessPhoenix.*
)
+
+ - id: dotnet-format
+ name: dotnet-format
+ language: python
+ entry: python3 misc/scripts/dotnet_format.py
+ types_or: [c#]