Skip to content

Use pinned pre-commit hooks for formatting and C++ linting - #196

Merged
pgrete merged 3 commits into
mainfrom
pgrete/pre-commit-lint
Nov 6, 2026
Merged

pgrete merged 3 commits into
mainfrom
pgrete/pre-commit-lint

Conversation

@pgrete

@pgrete pgrete commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

PR Summary

No code changes. Just updating how we do format check and introduces pre-commit (which should make it easier for people fit style before commit).

Once the large (particles and self-gravity) PRs are merged, we need to "clean" the code by loosening the removed filtter from CPPLINT.cfg

PR Checklist

  • Code passes cpplint
  • New features are documented.
  • Adds a test for any bugs fixed. Adds tests for new features.
  • Code is formatted
  • Changes are summarized in CHANGELOG.md
  • Change is breaking (API, behavior, ...)
    • Change is additionally added to CHANGELOG.md in the breaking section
    • PR is marked as breaking
    • Short summary API changes at the top of the PR (plus optionally with an automated update/fix script)
  • Docs build
  • Any contribution that was created or modified with the assistance of generative AI is disclosed here and in code following the guidelines

@pgrete
pgrete requested a review from mfournier01 November 6, 2026 16:06
@pgrete
pgrete merged commit 99dd6f4 into main Nov 6, 2026
4 checks passed
@pgrete
pgrete deleted the pgrete/pre-commit-lint branch November 6, 2026 23:23
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.

2 participants