Skip to main content

Clang-tidy is an LLVM-based code analyser tool

Project description

clang-tidy Python distribution

PyPI Release

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:

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 packaging clang-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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clang_tidy-22.1.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

clang_tidy-22.1.0-py2.py3-none-win_amd64.whl (25.1 MB view details)

Uploaded Python 2Python 3Windows x86-64

clang_tidy-22.1.0-py2.py3-none-win32.whl (22.2 MB view details)

Uploaded Python 2Python 3Windows x86

clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_x86_64.whl (44.8 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ x86-64

clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_i686.whl (49.9 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ i686

clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_armv7l.whl (39.6 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ ARMv7l

clang_tidy-22.1.0-py2.py3-none-manylinux_2_31_armv7l.whl (38.8 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.31+ ARMv7l

clang_tidy-22.1.0-py2.py3-none-manylinux_2_28_i686.whl (47.7 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.28+ i686

clang_tidy-22.1.0-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (42.2 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

clang_tidy-22.1.0-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (40.4 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

clang_tidy-22.1.0-py2.py3-none-macosx_11_0_arm64.whl (29.3 MB view details)

Uploaded Python 2Python 3macOS 11.0+ ARM64

clang_tidy-22.1.0-py2.py3-none-macosx_10_9_x86_64.whl (30.2 MB view details)

Uploaded Python 2Python 3macOS 10.9+ x86-64

File details

Details for the file clang_tidy-22.1.0.tar.gz.

File metadata

  • Download URL: clang_tidy-22.1.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for clang_tidy-22.1.0.tar.gz
Algorithm Hash digest
SHA256 2ae464d2fd5ed83784e68eecb54ada56128b726f15a0285b95e95bb47f386918
MD5 48c8bc15dd29c59b7cb7bc016d5812e2
BLAKE2b-256 34725b7e8c4eacff221fd00483678680b23ffd5e1928a9a5808876dd9b4eb02d

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0.tar.gz:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: clang_tidy-22.1.0-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 25.1 MB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 98ba65f6a285fbda1cd03fe0deefe4f7faea0e762856f8aeeff50a1069b5492a
MD5 815a97c0facc37cbc1d2691abc474067
BLAKE2b-256 ff46a65f1348aa935037ec4202d331b31e1c775436204ac6d116d25d5f491752

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-win_amd64.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-win32.whl.

File metadata

  • Download URL: clang_tidy-22.1.0-py2.py3-none-win32.whl
  • Upload date:
  • Size: 22.2 MB
  • Tags: Python 2, Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 17f9ec2b6445814b49f9a809992c757c0d908e7dcdf3a81586c3dd939aaa413b
MD5 c9b9f7dbabd2265cb6ec501bc66ccae8
BLAKE2b-256 082cb5c0b970bfd236aa66bbfe20c690bfaa1efc64b68110f97eb4a3b9479309

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-win32.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8e7fee85f434835a47e40c7edb6bd0e335bae25be0ac3110658d05e891786681
MD5 13a9d01c5b9c0c11ea7fc910486645ca
BLAKE2b-256 92b6350a9ed450bb1a51b2201ebc2909c34020985620c56452afd71d6d8cb341

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_x86_64.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 1a1d6a3e6d066b9ef9540f17ff9753deeead6f3189e632029f8cd2591426583f
MD5 414465c90d8f242c770296aec84872d3
BLAKE2b-256 cbb6219e48b2aa4833a01f050b8d316e6a8ba1e2f0fc41133c9dd304f000f538

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_i686.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 43de3f3533dc9372af86435ead7b7060b0e9c1191968873137ed359c61034b0f
MD5 7eff9061121430bfaab954b4f5f6582b
BLAKE2b-256 7e3a67a6a11ea878054028695f430c6c146af6e9974ed1fb081b55006818f4a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-musllinux_1_2_armv7l.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-manylinux_2_31_armv7l.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 5422e01207382964c04cb843c44675204074d0703b9f045d300b7fa13373ee78
MD5 b23a7bb2d3b9e2d9c8264c5f7bfb9e9e
BLAKE2b-256 83c415c6e452e1924767096b27ba5d64abc5e2a20eabfd57c9eaf47814790c6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-manylinux_2_31_armv7l.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-manylinux_2_28_i686.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 3b4f23130aa4f1efe64417ae98527414c9b3c790bcebe06e77933463e35e3a26
MD5 20346e8bc86f752b4054b882d016e400
BLAKE2b-256 205ac0434905d6b7b1c01b6d519da3cf09dcb8d15ad5004c58e064ae0924aa1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-manylinux_2_28_i686.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e1d4f56b15c35f844fce44b2ba51e845126cc00bbfbb1dc15d5a711e2ec5b9af
MD5 c28bdd7ae86d8734ba55285ee480801e
BLAKE2b-256 adf706fc2d0b3dd3189eb8c589891c79af71be558aa69215d17b791d0aad03de

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 70b819831b16b2a87a266526d9894b88139368dbe5f765536572d730f0926b46
MD5 7f79174d917e56df3f48c4a75af3af5c
BLAKE2b-256 bd732551a1759935c075607f64a242926afd21f3a6e1ed2918b4b86d80ae5a22

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89752596b4e868877134b21f266e43b312fe354b5bbc464e6e8147aa1f409317
MD5 773ea2684d22fea86199bf7aa364687c
BLAKE2b-256 8b5273f5a5cb3004373a2df0a87b2128620c9a22782eee2b9fefd2ded1ee809f

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clang_tidy-22.1.0-py2.py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.0-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6caa36a25ad26af6bcd014698c660484c7b6514ac386ca65e265c710e0203845
MD5 4fae51741d80a1ebfb58e7bc5496ee37
BLAKE2b-256 22440c007982000222f59cc257228818a9ab52990349bb211bf2eacb0a34d06a

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0-py2.py3-none-macosx_10_9_x86_64.whl:

Publisher: release.yml on ssciwr/clang-tidy-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page