cmake-format
Can format your listfiles so they don't look like crap
Decision gist · record as of 2026-08-14
No, not recommended for new projects. The package is abandoned (last release 2020-08-19) and will not receive maintenance, security updates, or compatibility fixes. While it has low install friction and no known vulnerabilities, the lack of active development means it may break with newer CMake or Python versions. Consider a maintained alternative or community fork if CMake formatting is critical to your workflow.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single runtime dependency.
- However, the package is abandoned—last release was 2020-08-19, over 2186 days ago.
- No active maintenance or security updates should be expected.
License · maintenance · safety
GPLv3 (copyleft) — Licensed under GPLv3 (copyleft). Any derivative work or distribution must also be licensed under GPLv3 and include source code.
last release 2020-08-19 (2186 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 509,123 downloads/mo, #6,272 on PyPI
Alternatives
Verify before relying
pip install cmakelang
cmake-format --in-place path/to/CMakeLists.txt
cmake-lint path/to/CMakeLists.txt- Whether the package works with modern CMake versions and current Python releases
- Whether the abandoned status means critical bugs remain unfixed
- Whether community forks or maintained alternatives have superseded this project
What it is and what it does
cmake-format is a suite of QA tools for CMake build files. It includes a formatter that rewrites CMakeLists.txt and other listfiles to conform to a configurable style (line width, indentation, spacing rules), a linter that checks for problems, an annotator that generates HTML documentation, and a utility to parse ctest output into JSON or XML. Configuration is flexible—you can use YAML, JSON, or Python format files, and the tool searches parent directories for a matching config file if none is specified.
The package depends only on cmakelang, a single runtime dependency. It is designed as a command-line tool and integrates with editors (VSCode, Sublime) and pre-commit hooks. However, the project has been abandoned since August 2020 with no active maintenance, meaning it will not receive bug fixes, security updates, or compatibility patches for newer CMake or Python versions.
Use it for
- Enforce consistent formatting across CMake files in a project to improve readability and reduce style drift.
- Detect common mistakes and style violations in CMakeLists.txt files during code review or CI/CD pipelines.
- Generate structured reports from ctest runs for integration with dashboards or test result aggregation systems.
- Automatically format CMake code as part of a pre-commit hook or editor integration workflow.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, not recommended for new projects.
The package is abandoned (last release 2020-08-19) and will not receive maintenance, security updates, or compatibility fixes. While it has low install friction and no known vulnerabilities, the lack of active development means it may break with newer CMake or Python versions. Consider a maintained alternative or community fork if CMake formatting is critical to your workflow.
Install
cmake-format on PyPI
Before you install
Low install friction with a single runtime dependency. However, the package is abandoned—last release was 2020-08-19, over 2186 days ago. No active maintenance or security updates should be expected.
License in practice
Licensed under GPLv3 (copyleft). Any derivative work or distribution must also be licensed under GPLv3 and include source code.
Quickstart
pip install cmakelang
cmake-format --in-place path/to/CMakeLists.txt
cmake-lint path/to/CMakeLists.txt
Verify before relying
- Whether the package works with modern CMake versions and current Python releases
- Whether the abandoned status means critical bugs remain unfixed
- Whether community forks or maintained alternatives have superseded this project
Package facts
| License | GPLv3 copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagecmakelang |
| Maintenance | Abandoned 2,186 days since the last release |
| First released | |
| Downloads | 509,123 / month, #6,272 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v3 (GPLv3) |
Evidence: cmake_format-0.6.13-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cmake linter”
- cmake-formatFormats, lints, and annotates CMake listfiles, and converts ctest…
- cmakelintcmakelint parses CMake files and reports style violations across…
- cmakelangProvides command-line tools to format, lint, and annotate CMake…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also cmakelang · gersemi · cmakelint · flake8-formatter-junit-xml · EditorConfig · cmake · pytest-cmake · xmlformatter · toml-sort · mdformat