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

Uploaded Python 2Python 3Windows x86-64

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

Uploaded Python 2Python 3Windows x86

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

File metadata

  • Download URL: clang_tidy-22.1.0.1.tar.gz
  • Upload date:
  • Size: 11.4 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.1.tar.gz
Algorithm Hash digest
SHA256 acc00c84a8f4d17d6c07697551fae9ed549f41dd54433d842f830e1e0d15e64e
MD5 af180b237aea765904b29d8ecf8f3a50
BLAKE2b-256 491040a7328ed7903ee52d2f23ba033fb1147b1ed2f5ccbdef893d44d639aac8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clang_tidy-22.1.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e9f1e762afe3f5f3511ca7f50132d4d6d5c58a3f6760089ed45d2b3506cf7d07
MD5 76ad6ad134cb9c0efe4108e553951ad6
BLAKE2b-256 f65bb5e5a286ff06111158f769892c56bf811806bd4d4d5aba93960b9c835e31

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: clang_tidy-22.1.0.1-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.1-py2.py3-none-win32.whl
Algorithm Hash digest
SHA256 9a7b3ff81098fdd9ee484f6bc861599c40b138670ebc57778afc7a8c6891d713
MD5 c1be33ece4c776b9b3938bca6dfac5c6
BLAKE2b-256 e697828cbb65ea46ee6a17c6869bcf91a1aa012eef1bfedbb554526868ab13c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clang_tidy-22.1.0.1-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bac1ab448c68022d599fba92962425c87c10f2006da45f996ce8e5cc8c51401e
MD5 3a5295a02f51e4a02af020cd4c3df0f4
BLAKE2b-256 9942d4dd4ea3d2ba9fe67aea759baea9af1ef8a0ad3879ed6dc82a073df14e3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clang_tidy-22.1.0.1-py2.py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 87966492e4b045961a35a65b1e8efe2e4e41bda3226860a00b3b15bd58d2b743
MD5 44c4acffb79aef67ade9b4940afa9bf8
BLAKE2b-256 8eb03e4c6f727b6c948d7a34afd8f974b27788aaeba22a1adc9b1bedb5129028

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clang_tidy-22.1.0.1-py2.py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 f596bbb6295ac787f351825b36a7117762a1d82cc0bcdff25623580b7d90145b
MD5 db20aee750d3e785eb3a5ae2653af196
BLAKE2b-256 6b566e912f4f960ead713338b777b1b680021f90ebdd04956354244569a059a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clang_tidy-22.1.0.1-py2.py3-none-manylinux_2_31_armv7l.whl
Algorithm Hash digest
SHA256 d947a8f7419e56704b895343c385fc201a063e43c2f042f859ee1088987b78d9
MD5 05e8b1e6aff62c3168d6696d2e9663c2
BLAKE2b-256 3d44bff82b4e2163b7786db6af2074ed86bee9f840ff09c761d82a31afdb5ad6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clang_tidy-22.1.0.1-py2.py3-none-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 0ed693762a926668460bb757dfee1a3bb66645641041f5f5d0f65c3b8720f7c0
MD5 5cef787016f438035b6812b293fe8e85
BLAKE2b-256 87181363b03517a6bd6dd931bba1206f2a0e7c9ac1c20877a9ac14e57e70da14

See more details on using hashes here.

Provenance

The following attestation bundles were made for clang_tidy-22.1.0.1-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.1-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.1-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 147f65292ef4bc27642bc4fe7330c47ff2eb7687eedf29ce2600b202f8cd54b6
MD5 80a78d13674c171e5a55fb223df36990
BLAKE2b-256 5b035019fb4b675d06058149b551133598d52b16d63799a2616bc4c11d15653f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clang_tidy-22.1.0.1-py2.py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f6c9fd547af8cd78961ccc42bdf4ebfa8e8ee1a7091ab1ea18f8756ac974082d
MD5 bd59a4d56e281ec3e111d2f45ff6bd1c
BLAKE2b-256 88910d0d7fcc11c8d26207f4d9628032a6fc5f93c365c78a3f2224e291cfe5c6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clang_tidy-22.1.0.1-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6449aa689ecca34bf12159194fa82d0fe90a2766398065b00cf8743c4176bd20
MD5 d4327ea11d95646f3e344a70725d0580
BLAKE2b-256 c3ffa8f501f2a9dc65e698b914c65a90a4235fe08d4159ecf88036f39a3e6d66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clang_tidy-22.1.0.1-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b84ce0e74c9d2ce486c48b2362f7a94135435deb77e88a3a162bc7dbd8a29c32
MD5 bc90806973877fd706c5453fd0976d67
BLAKE2b-256 bef23c3614a4004c4d12b5310648ba13e19342b38c32d919569f6523a136f422

See more details on using hashes here.

Provenance

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