Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang-format, Go Format check and commit-message hook #5

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

doctorlai-msrc
Copy link
Collaborator

@doctorlai-msrc doctorlai-msrc commented Nov 20, 2024

This PR:

  1. adds the pre-commit hook: clang-format, go-format and commit-message check
  2. checks clang-format in the Makefiles under examples
  3. check gofmt in pkg/Makefile

Please note that the clang-format is optional, when not present, it will not fail the build or commit.

TODO:

  1. enable this in pipeline
  2. consider cppcheck.

@doctorlai-msrc doctorlai-msrc changed the title Clang-format and commit-message hook Clang-format, Go Format check and commit-message hook Nov 22, 2024
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