Skip to content

Add config file for cmake-format#1056

Draft
mhucka wants to merge 3 commits into
quantumlib:mainfrom
mhucka:add-cmake-format-config
Draft

Add config file for cmake-format#1056
mhucka wants to merge 3 commits into
quantumlib:mainfrom
mhucka:add-cmake-format-config

Conversation

@mhucka
Copy link
Copy Markdown
Collaborator

@mhucka mhucka commented May 8, 2026

This adds a configuration file for cmake-format (from https://pypi.org/project/cmakelang/). The settings do no diverge much from the style in the current CMakeLists.txt files, and the results are more self-consistent and should be easier to maintain.

This PR only adds the configuration file. Another PR will reformat the existing files so that we can add the commit to .git-blame-ignore-revs, and a third PR will add a check to the CI workflow.

@github-actions github-actions Bot added the size: M 50< lines changed <250 label May 8, 2026
@mhucka mhucka changed the title Add .cmake-format.yaml config file for cmake-format Add config file for cmake-format May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: M 50< lines changed <250

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant