Repository navigation
Add gersemi cmake formatter - #2332
Merged
blowekamp merged 3 commits intoJun 24, 2025
Merged
Conversation
Member
Author
|
I used the following prompt to generate the stubs:
|
zivy
approved these changes
Jun 19, 2025
zivy
left a comment
Member
There was a problem hiding this comment.
In most cases the list_expansion is an improvement, though in some cases I find the results to be less readable than the original non-expanded version.
Still, using this linter for CMake is an improvement as it enforces uniformity. Nice addition.
blowekamp
force-pushed
the
add-gersemi-cmake-formatter
branch
2 times, most recently
from
June 23, 2025 17:12
128576a to
5429c33
Compare
blowekamp
marked this pull request as ready for review
June 23, 2025 20:06
blowekamp
force-pushed
the
add-gersemi-cmake-formatter
branch
from
June 23, 2025 20:55
5429c33 to
ae25ff6
Compare
blowekamp
marked this pull request as draft
June 24, 2025 12:07
blowekamp
marked this pull request as ready for review
June 24, 2025 17:54
Apply a consistent style to all CMake files. Automatically format CMake files for consistency. The configuration is provided in .gersemi.config. by https://github.com/BlankSpruce/gersemi
blowekamp
force-pushed
the
add-gersemi-cmake-formatter
branch
from
June 24, 2025 17:56
ae25ff6 to
4cb1612
Compare
blowekamp
force-pushed
the
add-gersemi-cmake-formatter
branch
from
June 24, 2025 18:10
4cb1612 to
10d75e6
Compare
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.
Use gersemi to apply automatic formatting to CMake file with pre-commit.