C++ comment formatter
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.1.tar.gz
(13.0 kB
view hashes)
Built Distribution
Close
Hashes for cpp_comment_format-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1f557459e790a3dd7622b664a52ef9ffdb789695f48c5a1e3f301af5cae438 |
|
MD5 | fb2660197ecc74e565545ea0aad7ccdf |
|
BLAKE2b-256 | abbdba26c9a2ccb88396db91bedbda04b084862e40718ffd00d3b9018c13b45e |