Conversation
Member
|
So what are the results from such file, does anything need to be modified? |
Collaborator
Author
The modifications are not yet added. You can have a look at them using e.g. |
2d22b66 to
7bf926c
Compare
.editorconfig: Add basic editorconfig file that enforces tabs of indent size 4 on all C and C++ files and Unix-style line feeds and a final newline on all files.
.clang-format: Add a clang-format configuration file based on the WebKit style, that enforces a 120 char column length and tabs for indentation (of length four).
.github/workflows/format.yml: Add github workflow for checking code formatting, which runs clang-format in a container and fails if there need to be changes to the formatting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds an editorconfig (see https://editorconfig-specification.readthedocs.io/) file and a clang-format configuration (see https://clang.llvm.org/docs/ClangFormatStyleOptions.html).
All files are formatted using the clang-format configuration file.
Fixes #42