cmake and python style formatting
Open
@chapman39 is already working on this.
Since Dec 15, 2025.
build
- Dominant language
- C++
- Stars
- 245
- Forks
- 36
- Avg merge
- 8d 23h
- Merged PRs (30d)
- 4
Description
It would be nice for developers to have `make style` update cmake and python in addition to cpp/ hpp files. In particular, automatically adding newlines at EOF.
As far as I know this would involve...
* adding `py-yapf` and `py-cmake-format` (or others with similar functionality) as devtool dependencies
* adding a `.cmake-format.py` and `.style-yapf` to root of project
* adding these packages to the build via cmake, if devtools is enabled
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.