chore: disable autofix for pre-commit hooks

This commit is contained in:
2026-05-02 01:24:59 +02:00
parent 126a6f2eac
commit 865bc3e516
2 changed files with 5 additions and 2 deletions

View File

@@ -4,8 +4,6 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-added-large-files
- id: check-yaml
@@ -16,3 +14,4 @@ repos:
hooks:
- id: clang-format
types_or: [c, c++]
args: [--dry-run, -Werror]

View File

@@ -2,6 +2,10 @@
default:
@just --list
# format C/H files in place
fmt:
git ls-files '*.c' '*.h' | xargs --no-run-if-empty clang-format -i
# bump submodule(s) to latest tag
bump-qmk submodule="":
#!/usr/bin/env bash