-
Notifications
You must be signed in to change notification settings - Fork 2
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
clarify style guidelines in CONTRIBUTING.md
/ set up clang-format
#150
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
question
Further information is requested
Comments
superwhiskers
added a commit
that referenced
this issue
Jun 3, 2024
- drop dead code within `CMakeLists.txt` - remove old `.github/workflows/.clang-format` - create new `.clang-format` at the repository root, with settings based on observed patterns & `CONTRIBUTING.md`
superwhiskers
added
documentation
Improvements or additions to documentation
question
Further information is requested
labels
Jun 3, 2024
some additional comments:
|
@cameronrutherford and @ryandanehy, please chime in. CC: @kswirydo |
I think @superwhiskers makes a good point. We can use #151 to test locally the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
question
Further information is requested
related to #54 / #82, albeit it deserves a dedicated pull request to unbundle it from the addition of
pre-commit
rationale
currently,
CONTRIBUTING.md
is insufficiently precise in some ways and the repository's existing.clang-format
file is not used and does not match the conventions withinCONTRIBUTING.md
exactly. clarifying the style guidelines and setting up.clang-format
would help maintain a consistent style across the codebase and potentially make it more welcoming to newcomersconsiderations
CONTRIBUTING.md
?pre-commit
instead, as described in Addpre-commit
configuration + GitHub Actions #54?initial suggestions
pre-commit
configuration + GitHub Actions #54 & Precommit addition to the repo #82 for now.clang-format
file in.github/workflows
1 since it isn't used and remove the dead code within the rootCMakeLists.txt
2 that references it.clang-format
at the repository's root which takes into account existing style conventions + the stuff withinCONTRIBUTING.md
, with a priority toward the latter, updatingCONTRIBUTING.md
accordinglyFootnotes
https://github.com/ORNL/ReSolve/blob/develop/.github/workflows/.clang-format ↩
https://github.com/ORNL/ReSolve/blob/d913854aed438af040f6ecd5bee052da3a861baa/CMakeLists.txt#L56-L58 ↩
The text was updated successfully, but these errors were encountered: