-
Notifications
You must be signed in to change notification settings - Fork 2
Clarify style guidelines in the online documentation and set up clang-format
#150
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
Comments
- 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`
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 |
that appears to cover a portion of it but it lacks a clang-format configuration. additionally it creates a separate contributing guideline document in addition to |
- 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`
Yes, I think it would be good to coordinate spelling out style guidelines and configuring I suggest we add I suggest we keep the file |
CONTRIBUTING.md
/ set up clang-format
clang-format
clang-format
clang-format
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: