Format comment blocks in C++ source files
Project description
cpp_comment_format
Format code blocks.
From command line
Default style, print result to screen:
cpp_comment_format example.cpp
To modify in place:
cpp_comment_format -i example.cpp
Using a specific style:
cpp_comment_format --style "javadoc" --doxygen "@" example.cpp
Using pre-commit
Default style:
repos:
- repo: https://github.com/tdegeus/cpp_comment_format
rev: v0.0.2
hooks:
- id: cpp_comment_format
Using a specific style:
repos:
- repo: https://github.com/tdegeus/cpp_comment_format
rev: v0.0.2
hooks:
- id: cpp_comment_format
args: ["--style", "javadoc", "--doxygen", "@"]
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
cpp_comment_format-0.2.0.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for cpp_comment_format-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2464bef0080074820fd8db325d69bff3a41660b36854104e4d3d5833349df4f9 |
|
MD5 | 8094508fe776537c17757e4f81a75b2a |
|
BLAKE2b-256 | 20b417c8694a00fdfdb749a9296e4e3789e589447f2dd836a3fd5398b9a932e6 |