llnl / llnl/smith

cmake and python style formatting

Open
#1,506 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.