clang-tidy Python distribution
This project packages the clang-tidy utility and related tools as a Python package. It allows you to install clang-tidy directly from PyPI:
python -m pip install clang-tidy
The tools provided are:
clang-tidy: lints C++ source code using configurable rulesclang-apply-replacements: applies "fixes" that have been exported byclang-tidyin YAML formatrun-clang-tidy.py: runsclang-tidyover all files in a compilation database or a specified path, with parallelismclang-tidy-diff.py: appliesclang-tidyto the changed lines in a user-provided diff
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-tidyitself 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-buildpackaging 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.
Troubleshooting
To see which clang-tidy binary the package is using
you can set CLANG_TIDY_WHEEL_VERBOSE to 1 in your environment.
Metadata
Release files for clang-tidy 23.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| clang_tidy-23.1.4.tar.gz | 12.4 kB | With provenance | Details |
Built distributions (wheels)
Total release size: 445.9 MB
Release files / clang_tidy-23.1.4.tar.gz
| Download URL | clang_tidy-23.1.4.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71ec19e17c485cdb1d80f9c631f525b0b0e5f8a0429f164df75b3869ae61ab44
|
|
BLAKE2b-256 checksum How to use checksums |
22f1ce2407dc5ca76d5ada9449fa4203ac563f4f563224f29fa06bcd88a3959a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-win_amd64.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-win_amd64.whl |
|---|---|
| Size | 28.5 MB |
| Tags | Python 2 Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8107e05930f53dc477dbb5fb8108d7c10464176fc95d3e58f4ee7317887aed59
|
|
BLAKE2b-256 checksum How to use checksums |
c049b2adbdedbe430d0cce9b354a679d57e28692ce2fb59a575486784d438125
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-win32.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-win32.whl |
|---|---|
| Size | 25.1 MB |
| Tags | Python 2 Python 3 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
c25f8689d48e6f7909f12a17f6019e572970836e1a6570f8a1f70d84008e5db7
|
|
BLAKE2b-256 checksum How to use checksums |
0e9839eb001e1d1e9742d4d77aefcb438a44145f262f868892e7cd4ff6e31e65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-musllinux_1_2_x86_64.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 48.3 MB |
| Tags | Linux musl 1.2+ x86-64 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7c34a8ec573e747412a15a4fea3cd65221b03b2da9a6462f17cbc8bfd47dc7fb
|
|
BLAKE2b-256 checksum How to use checksums |
0b89f8a6c51ce1caf68ad4d9b1abf2f8b3b81490f8c9d959c6b3fee1c490d64b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-musllinux_1_2_i686.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-musllinux_1_2_i686.whl |
|---|---|
| Size | 53.4 MB |
| Tags | Linux musl 1.2+ x86-32 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f428092411271394559c70f7bed218e20409bbd2ee16d0c4cc93f7c6361a595a
|
|
BLAKE2b-256 checksum How to use checksums |
a02b1103bf0e0ae41f3682a4825ce6c7b6290852c4677b2aa4e632b2c43ac60c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-musllinux_1_2_armv7l.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-musllinux_1_2_armv7l.whl |
|---|---|
| Size | 42.8 MB |
| Tags | Linux musl 1.2+ ARMv7l Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
900276dcb577ed8cb411958efc64feb1ba7334e3c9e70ea5d2e6b5c29aa5335f
|
|
BLAKE2b-256 checksum How to use checksums |
3246c8487562afaabba832be98bc4eeb39a13b5f5f5a270b4e2547043ada4ea5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-manylinux_2_31_armv7l.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-manylinux_2_31_armv7l.whl |
|---|---|
| Size | 41.8 MB |
| Tags | Linux glibc 2.31+ ARMv7l Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8d20ac0cf4dbed1526493e02316796bffc075e05e393519e953261909ba2c8e6
|
|
BLAKE2b-256 checksum How to use checksums |
3cc028da9c922d84e968e67fb826c4c3a6e3a631ef667474df858c5ca921a420
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-manylinux_2_28_i686.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-manylinux_2_28_i686.whl |
|---|---|
| Size | 51.2 MB |
| Tags | Linux glibc 2.28+ x86-32 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
84b9021905a851948c7f0735baea4d00a7fffd87437bdd106a339e76f6cd7b13
|
|
BLAKE2b-256 checksum How to use checksums |
af324856b0bb395031bb1b8ef6866747ced3428006f05e3b26db0a4eadb57405
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 45.6 MB |
| Tags | Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6bb31e4f319ecbe14acb75f23c3050d0f1d4b1d92ea1c66091bc76e4eac2c1ac
|
|
BLAKE2b-256 checksum How to use checksums |
80859b483f300124a9245ec6da8975612f1841e26da13b27ad8d17f2006e13bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 43.7 MB |
| Tags | Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
87596cd77dedfdea23ced1d13e57e869dcaee99745bfe942796196da3c197671
|
|
BLAKE2b-256 checksum How to use checksums |
7d95ba9463f94319dddd0c3a9d3f65d432ddf71fe9b203dcd7ea63bcff8999e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-macosx_11_0_arm64.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 32.3 MB |
| Tags | Python 2 Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
08e977575e9f800c1c806f2001a3cdfd01323491aec05e86dd24be9a5c2585f4
|
|
BLAKE2b-256 checksum How to use checksums |
0c59637ce45a6cfa15ddb926e1feeee8077b9ebeb2956548375f24e16d51a908
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / clang_tidy-23.1.4-py2.py3-none-macosx_10_9_x86_64.whl
| Download URL | clang_tidy-23.1.4-py2.py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 33.1 MB |
| Tags | Python 2 Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
16be65b3396d096826cda8b94e7734913b4e2ffe0053fac6b8ccb2efc8d68cb1
|
|
BLAKE2b-256 checksum How to use checksums |
aa18581961a934c9df0861fa91dcf2e6c553e1d4e194de10fd80c1c633b731be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for clang-tidy 23.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 12 files in this release have been uploaded with provenance metadata.
Attestation for clang_tidy-23.1.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.