macOS
brew install cmake-lintlocal Homebrew formula metadata
安装
brew install cmake-lintlocal Homebrew formula metadata
nix profile install nixpkgs#cmake-lintnixpkgs package indexes · pkgs/by-name/cm/cmake-lint/package.nix · 来源: api.github.com
概览
Static code checker for CMake files
历史
cmake-lint is a Python static style checker for CMake files. Its README describes a cmakelint command that parses CMake files, reports style issues, supports filters, and can be used directly or through pre-commit.
The current GitHub repository describes itself as a fork of richq/cmake-lint created to continue maintenance. The bundled changelog records that version 1.2 moved to GitHub and version 1.2.01 was published on PyPI; the GitHub API reports the current maintenance repository was created in June 2019.
The project is distributed as the cmakelint Python package and the README gives pip installation instructions. The batch input lists Homebrew and Nix packages, and the README includes a pre-commit hook configuration, which makes it easy to adopt in project-level lint workflows.
Users run cmakelint with one or more CMake files and optional --config or --filter arguments. The README documents .cmakelintrc lookup in the working directory, XDG-style config paths, and the home directory, plus inline lint_cmake pragmas for per-file filter overrides.
cmake-lint matters as a small, packageable CMake hygiene tool: it gives package maintainers and CI pipelines a lightweight way to enforce CMake style without pulling in a full build-system rewrite or editor integration.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$PWD/.cmakelintrc~/.config/cmakelintrc$XDG_CONFIG_DIR/cmakelintrc~/.cmakelintrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cmakelint | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/cmake-lint/cmake-lint
安装元数据
| 软件包键 | brew:cmake-lint |
|---|---|
| 版本 | 1.4.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cmake-lint |
| 主页 | https://github.com/cmake-lint/cmake-lint |
| 仓库 | https://github.com/cmake-lint/cmake-lint |
| 上游文档 | https://github.com/cmake-lint/cmake-lint#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://files.pythonhosted.org/packages/9f/46/9b6c39837be138179347611ec8cb79bf00ff3b54966ee8b63e031a05cf76/cmakelint-1.4.3.tar.gz |
| 依赖 | python@3.14 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cmake-lint |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cmake-lint
nix profile install nixpkgs#cmake-lint来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.