summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2024-03-02 10:48:25 +0100
committerGitHub <noreply@github.com>2024-03-02 10:48:25 +0100
commitf2045ba822bff7d34964901393581a3117c394a9 (patch)
treeef4d0bac04a7831fc203679500c22d92f29a4e33 /.pre-commit-config.yaml
parentdad6c774b019ef8c5dccb4a1955c6a77b41a323e (diff)
parent97851f03401537b7fa0affc50a5800eda351c4b8 (diff)
downloadredot-engine-f2045ba822bff7d34964901393581a3117c394a9.tar.gz
Merge pull request #88933 from raulsntos/dotnet/pre-commit
Move dotnet-format script to pre-commit
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 6f77645584..9e9da655cc 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#]