Skip to main content

Run clang-format in parallel over directories

Project description

run-clang-format

PyPI Code Lint Code Format Python Version License

Run clang-format in parallel over entire directory trees.

run-clang-format src/

Use -i flag to apply formatting in-place instead of showing diffs

Getting Started

Install from PyPI via pip or pipx:

pip install run-clang-format

Usage

Check formatting and show diffs:

run-clang-format src/

Apply formatting in-place:

run-clang-format -i src/

Control parallelism (default uses all CPU cores):

run-clang-format -j 4 src/

For more information use --help (-h) flag.

License

Apache License 2.0

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

run_clang_format-1.2.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

run_clang_format-1.2.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file run_clang_format-1.2.0.tar.gz.

File metadata

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

File hashes

Hashes for run_clang_format-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8cfbbdcaa5cc337baf1470561669b4047446725457989dd668d2f30f721a979b
MD5 f6784ad3572d310d3a32d6856ae2de88
BLAKE2b-256 43ad47c813d9eeab9b49c6cf83fdfceddc032711464e20c4cac3db5c56abe2d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for run_clang_format-1.2.0.tar.gz:

Publisher: release.yaml on vbvictor/run-clang-format

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

File details

Details for the file run_clang_format-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for run_clang_format-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7993e5232a1b96eda56e95141100753b73a41bed7b6e203140e263db5826603
MD5 8e3d8af34f8e852169c28df5f8f1dd6f
BLAKE2b-256 a0c030ab58fdc6072e790835777c6534d3b7ebd15746559baeb2c72386d3b435

See more details on using hashes here.

Provenance

The following attestation bundles were made for run_clang_format-1.2.0-py3-none-any.whl:

Publisher: release.yaml on vbvictor/run-clang-format

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