Skip to content

Add some pre-commit hooks#41

Open
mingxwa wants to merge 2 commits into
ngcpp:mainfrom
mingxwa:user/mingxwa/lint
Open

Add some pre-commit hooks#41
mingxwa wants to merge 2 commits into
ngcpp:mainfrom
mingxwa:user/mingxwa/lint

Conversation

@mingxwa
Copy link
Copy Markdown
Collaborator

@mingxwa mingxwa commented Jun 2, 2026

Changes

  • Added .pre-commit-config.yaml for a number of useful pre-commit hooks, including a tools/format_cpp.py file for formatting C++ code (static source code and doc examples, originally lives in ./.github/workflows/bvt-clang.yml).
  • Added CONTRIBUTING.md to introduce the pre-commit hooks.
  • Added ./.github/workflows/bvt-lint.yml to enforce the rules from CI.
  • Other changes were made by the pre-commit hooks.

No functional changes.

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