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.7.tar.gz (11.4 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.7-py2.py3-none-win_amd64.whl (25.1 MB view details)

Uploaded Python 2Python 3Windows x86-64

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

Uploaded Python 2Python 3Windows x86

clang_tidy-22.1.7-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.7-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.7-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.7-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.7-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.7-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.7-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.7-py2.py3-none-macosx_11_0_arm64.whl (29.3 MB view details)

Uploaded Python 2Python 3macOS 11.0+ ARM64

clang_tidy-22.1.7-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.7.tar.gz.

File metadata

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

File hashes

Hashes for clang_tidy-22.1.7.tar.gz
Algorithm Hash digest
SHA256 291c3612ef942e5d107ff518c17daa4a8fe457c30c6b9602fd0aadb4a49d26ff
MD5 dfb336347f6c5af38d641074e8f20bb5
BLAKE2b-256 c4aba9c1e33958d64b769c971377ea1529a260c63b431045b43d0ead3e4609f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7.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.7-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: clang_tidy-22.1.7-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.13

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3c135de4bde262938d9b66d578b42bebfa253503d5f8736a8338bfd316895b6a
MD5 9d53175193470979400f925ff9595056
BLAKE2b-256 519b755d77e51e8aebd03e287dc19727d5c4ca286fd419ff4cf5bd904f7b0366

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-win32.whl.

File metadata

  • Download URL: clang_tidy-22.1.7-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.13

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 09eda5486883379193991d196a45e888217ab68d74977eeb8137a80f7c198d3d
MD5 1bb27be49853a25f3b1359be433931f0
BLAKE2b-256 e5daf46f0551e1ce75b1a5a8abcf330e31dd065552c8c074c21cde457051f212

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6c80bdef06bbf73e5e97471c84684229001130deb60051777c7eb2b233cfd525
MD5 6e8edca5c5447015c48145e13140d67a
BLAKE2b-256 3a156ca6636cc65696814b671f99af4ae463247cfab9cbf4e4f944e5c3c051e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d684849f24e22e571658832753ab03032bf5c01dd810e0d50642b63c5ef4536c
MD5 e77d129d68cd4aafe17a0ced43acc125
BLAKE2b-256 591f05874ef73802eec281547bf4d5c529ef06c592c0e98c2b8c95050ca33c70

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 c6206dbe50de71e0455bad0c7e68b64d529e4de48960a92eb6ddecdc8bffb5b2
MD5 da886d21aa8d0e0f4f179ced51658aca
BLAKE2b-256 7e780473466ab54a462133d6e1cf6d2b79c5703f5bf1b9f664fe20cdd62a4057

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-manylinux_2_31_armv7l.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 00cb0c1eeba6cf4cc1c70eaf569d602c96cff0ce8ec90cc7ce09ab4d19f60b70
MD5 11bd6ad90bfb605a398a1f4a6b9cb41e
BLAKE2b-256 7845e61bf27e5eb09f40e42a1be55da6384db20a27abe8eecf8cc31c393aca8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-manylinux_2_28_i686.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 8a4ccaa7a76ef3cdea3df1f74ac400c3e89a8b57619ec39c9db12dca1fcafb7e
MD5 f992975b45720bcb08108ef04540e51a
BLAKE2b-256 cffd47736e5aa78773d515927745cb9387de97c3b2e8b61b348dac681bb5858e

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cff22f68ae7a3d8bf1b99ed77b9b81f8027f093c3e7b02f1d31dab76e0761433
MD5 ec16bc60659b84ad2dd7e033564577a9
BLAKE2b-256 43693be98747ee4e8aedcfc4525a8e0c1576118bcd4de9a560d84a2a398158ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ccefb0832dbac7ee3cf17677f429d1b868c49542879a020991139ecd980e0727
MD5 397eb530a16094a03930511b27b38d48
BLAKE2b-256 278df21976010dfd1746d5eac80bccaa364f56df61ab968c6d9279513e21f945

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bfa4279c8f3c790c3f4d7b8ba250fd08d8b42442cb01eb7b3655d3921ad4f047
MD5 9424202ff9ab422dcb598b5a9478dc31
BLAKE2b-256 e2ebbd4179187eb12348350d9de3a3124fb1466f0fd5ff33619ed45575752683

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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.7-py2.py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for clang_tidy-22.1.7-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 37094b7f8606b6d9eeff4d9b4ff5423791e891ffdffb57c60218da4231dea0d1
MD5 363c08e4cba2554cfa034e19b898791c
BLAKE2b-256 bc4ede59bc2bda314fa0622b967d0542e16c78e156038827422740fc9749a3b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.7-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