clang-tidy is a clang-based C++ “linter” tool.
Project description
clang-tidy Python distribution
This project packages the clang-tidy
utility as a Python package. It allows you to install clang-tidy
directly from PyPI:
python -m pip install clang-tidy
This projects intends to release a new PyPI package for each major and minor release of clang-tidy
.
Use with pipx
You can use pipx
to run clang-tidy, as well. For example, pipx run clang-tidy <args>
will run clang-tidy without any previous install required on any machine with pipx (including all default GitHub Actions / Azure runners, avoiding requiring a pre-install step or even actions/setup-python
).
Building new releases
The clang-tidy-wheel repository provides the logic to build and publish binary wheels of the clang-tidy
utility.
In order to add a new release, the following steps are necessary:
- Edit the version file to reflect the new version.
- Make a GitHub release to trigger the GitHub Actions release workflow. Alternatively, the workflow can be triggered manually.
On manual triggers, the following input variables are available:
use_qemu
: Whether to build targets that require emulation (default:true
)llvm_version
: Override the LLVM version (default:""
)wheel_version
: Override the wheel packaging version (default"0"
)deploy_to_testpypi
: Whether to deploy to TestPyPI instead of PyPI (default:false
)
The repository with the precommit hook is automatically updated using a scheduled Github Actions workflow.
Acknowledgments
This repository extends the great work of several other projects:
clang-tidy
itself is provided by the LLVM project under the Apache 2.0 License with LLVM exceptions.- The build logic is based on scikit-build which greatly reduces the amount of low level code necessary to package
clang-tidy
. - The
scikit-build
packaging examples of CMake and Ninja were very helpful in packagingclang-tidy
. - The CI build process is controlled by cibuildwheel which makes building wheels across a number of platforms a pleasant experience (!)
We are grateful for the generous provisioning with CI resources that GitHub currently offers to Open Source projects.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for clang_tidy-15.0.2.1-py2.py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32abfae9205fbeedfc811fbcf373b1a41bb8d77797dc619d8ec12b0ec942011e |
|
MD5 | 77bee6cd4d8fe8810d780af058af59ff |
|
BLAKE2b-256 | 82ea89463a99fdd30fdf1507c6997db5a002542750389b1b9b1cb7f4363b0d09 |
Hashes for clang_tidy-15.0.2.1-py2.py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a547c2b28b9d9e0cbb8d93e38ba808a5a2765dd1638ebea185c8d3e82559bea7 |
|
MD5 | 9ad0a34321eeacf3d8f58ace7e7ebee3 |
|
BLAKE2b-256 | 4feb3e772588bab76ce11578891aeb2c500c6ef027323d2fe8a852f207ea1af5 |
Hashes for clang_tidy-15.0.2.1-py2.py3-none-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd87b582726127117ced0d78e0ff8be3cae66af260f9d9a0df6b70b564527c07 |
|
MD5 | 6760f8539adf4e6667c560bd8a4c3a03 |
|
BLAKE2b-256 | b7c4d4b69c18d687ab2a68cab547a023e85db18b439254e93f82219c58cdf0c5 |
Hashes for clang_tidy-15.0.2.1-py2.py3-none-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a000611e17655e04a5ed9f892e6218d779867b404945eb3d9e8e75cd4a7f723 |
|
MD5 | ed8b7411c8b4e6e3437b5e5fed9faa71 |
|
BLAKE2b-256 | 622129a812a788174eb488342b14652aa42278190818ef67e4f0146085e9210d |
Hashes for clang_tidy-15.0.2.1-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c8bf1abff4ba4f1a76f3fa3291bc1d308ead399949bd3a0dfb9252551328a0e |
|
MD5 | 6a1c950345004ba4ee757d2936e43899 |
|
BLAKE2b-256 | 514e560780b7783ac5942d5b69327d50779d03b1808ff5391b65e961175098eb |
Hashes for clang_tidy-15.0.2.1-py2.py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d57dd14b15a25b58bbcbe83983ebc0107f03592b8600da5aa1f911338e76a206 |
|
MD5 | 6bcd08279eff6ec8ca28e5f268043d1d |
|
BLAKE2b-256 | c9525121edd9226acde3067552bb5fbae0627f503772156a646198431d347747 |
Hashes for clang_tidy-15.0.2.1-py2.py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8cefed5e857f162baecc35e6dffe7734bebf6bc7caa45e4da50dc7ba0c3fe18 |
|
MD5 | 94a97f84aca8f8e014b441012cee1694 |
|
BLAKE2b-256 | 9c44dc89b997f6095fe8bc57f0674d03ac19f1198418066f6f5ff4fc39c8958d |
Hashes for clang_tidy-15.0.2.1-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1491f47bb0f2ee73aa4f3fd629b92c4834bce361f9f74d4429b7e658be78cb35 |
|
MD5 | 81fb14c99abca53ef7b051ff8a47a1a6 |
|
BLAKE2b-256 | 81f64448dccac0920997e3ddc9db9991e5d0b2d32270edb9d77662e079a3f994 |