Skip to content

Add clang-format hooks#175

Open
deevus wants to merge 3 commits into
masterfrom
hk-pre-commit
Open

Add clang-format hooks#175
deevus wants to merge 3 commits into
masterfrom
hk-pre-commit

Conversation

@deevus
Copy link
Copy Markdown
Collaborator

@deevus deevus commented May 10, 2026

Summary

  • Add hk configuration for clang-format pre-commit auto-formatting
  • Add hk check hook for clang-format verification
  • Add committed .clang-format and format existing C/H files
  • Disable include sorting to preserve legacy include ordering and keep libcdio builds working

Verification

  • MISE_TRUSTED_CONFIG_PATHS=$PWD mise x -- hk validate
  • MISE_TRUSTED_CONFIG_PATHS=$PWD mise x -- hk check --all
  • MISE_TRUSTED_CONFIG_PATHS=$PWD mise x -- zig build
  • MISE_TRUSTED_CONFIG_PATHS=$PWD mise x -- zig build run
  • final reviewer found no blockers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant