summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pre-commit-config.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index aa6bda102..a6ad210f7 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,6 +21,6 @@ repos:
language: system
- id: formatting
name: Formatting
- entry: sh -c "git diff --staged --name-only | xargs -r python3 tools/codeformat.py"
+ entry: python3 tools/codeformat.py
types_or: [c, python]
language: system