Metadata-Version: 2.4
Name: run-clang-format
Version: 1.2.0
Summary: Run clang-format in parallel over directories
Author-email: Victor Baranov <bar.victor.2002@gmail.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/vbvictor/run-clang-format
Project-URL: Repository, https://github.com/vbvictor/run-clang-format
Project-URL: Issues, https://github.com/vbvictor/run-clang-format/issues
Project-URL: Changelog, https://github.com/vbvictor/run-clang-format/releases
Keywords: cli,automation,developer-tools,productivity
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Version Control :: Git
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest==8.4.2; extra == "dev"
Requires-Dist: pytest-cov==7.0.0; extra == "dev"
Requires-Dist: ruff==0.14.13; extra == "dev"
Requires-Dist: black==25.11.0; extra == "dev"
Requires-Dist: yamllint==1.37.1; extra == "dev"
Requires-Dist: build==1.4.0; extra == "dev"
Requires-Dist: twine==6.2.0; extra == "dev"
Dynamic: license-file

# run-clang-format

[![PyPI](https://img.shields.io/pypi/v/run-clang-format)](https://pypi.org/project/run-clang-format/)
[![Code Lint](https://github.com/vbvictor/run-clang-format/actions/workflows/code-lint.yaml/badge.svg)](https://github.com/vbvictor/run-clang-format/actions/workflows/code-lint.yaml)
[![Code Format](https://github.com/vbvictor/run-clang-format/actions/workflows/code-format.yaml/badge.svg)](https://github.com/vbvictor/run-clang-format/actions/workflows/code-format.yaml)
[![Python Version](https://img.shields.io/badge/python-3.9%2B-blue)](https://www.python.org/downloads/)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/vbvictor/run-clang-format/blob/main/LICENSE)

Run clang-format in parallel over entire directory trees.

```bash
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`:

```bash
pip install run-clang-format
```

## Usage

Check formatting and show diffs:

```bash
run-clang-format src/
```

Apply formatting in-place:

```bash
run-clang-format -i src/
```

Control parallelism (default uses all CPU cores):

```bash
run-clang-format -j 4 src/
```

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

## License

[Apache License 2.0](LICENSE)
