You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 within CONTRIBUTING.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 newcomers
considerations
how is existing code formatted in relation to what is documented in CONTRIBUTING.md?
how should the codified style be imposed upon existing code?
should we incrementally reformat code when it is touched, or should we reformat it all in one go?
open a new pull request deleting the existing .clang-format file in .github/workflows1 since it isn't used and remove the dead code within the root CMakeLists.txt2 that references it
create a new .clang-format at the repository's root which takes into account existing style conventions + the stuff within CONTRIBUTING.md, with a priority toward the latter, updating CONTRIBUTING.md accordingly
do not apply the styling to existing code until a solution is agreed upon
related to #54 / #82, albeit it deserves a dedicated pull request to unbundle it from the addition of
pre-commitrationale
currently,
CONTRIBUTING.mdis insufficiently precise in some ways and the repository's existing.clang-formatfile is not used and does not match the conventions withinCONTRIBUTING.mdexactly. clarifying the style guidelines and setting up.clang-formatwould help maintain a consistent style across the codebase and potentially make it more welcoming to newcomersconsiderations
CONTRIBUTING.md?pre-commitinstead, as described in Addpre-commitconfiguration + GitHub Actions #54?initial suggestions
pre-commitconfiguration + GitHub Actions #54 & Precommit addition to the repo #82 for now.clang-formatfile in.github/workflows1 since it isn't used and remove the dead code within the rootCMakeLists.txt2 that references it.clang-formatat the repository's root which takes into account existing style conventions + the stuff withinCONTRIBUTING.md, with a priority toward the latter, updatingCONTRIBUTING.mdaccordinglyFootnotes
https://github.com/ORNL/ReSolve/blob/develop/.github/workflows/.clang-format ↩
https://github.com/ORNL/ReSolve/blob/d913854aed438af040f6ecd5bee052da3a861baa/CMakeLists.txt#L56-L58 ↩