Format entire directories of source files with clang-format. This tool also allows to check for formatting without modifying files.
Project description
Format All The Things!
This is a python script that will run clang-format -i
on your code.
Basic usage:
clang_format_all --config config.yaml
The yaml file should look like this:
root_dir: "."
#When true, files will only be checked. None will be modified.
check_all: true
file_extensions: ['.cpp', '.cc', '.C', 'CPP', '.c++', 'cp', '.cxx', '.h', '.hh', '.hpp']
exclude_dirs:
- "fmt"
- "simple_gpio"
- "build"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clang_format_all-0.1.1.tar.gz
(39.9 kB
view hashes)
Built Distribution
Close
Hashes for clang_format_all-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f10facb25a382adc862a87dbfb2bf08c3395955bbde0613f4483975209b1077 |
|
MD5 | 1cf844888a5bd0f528331a5393aa0031 |
|
BLAKE2b-256 | a3449572879089df71a0e4200f2c9ee97586bee59087dcc261758c44e50ab6f9 |