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 details)
Built Distribution
File details
Details for the file cpp_comment_format-0.2.1.tar.gz
.
File metadata
- Download URL: cpp_comment_format-0.2.1.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52b0be1579e28d48621cf2440b60bf66bd4824e52c898b230f4addba0c97994c |
|
MD5 | 09155f8342580883ca65651be6c31412 |
|
BLAKE2b-256 | 92fafb6728bc5c6aeb0036d51090d3a6406a4b5d58d1cf0890653ec83d6c6d49 |
File details
Details for the file cpp_comment_format-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: cpp_comment_format-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1f557459e790a3dd7622b664a52ef9ffdb789695f48c5a1e3f301af5cae438 |
|
MD5 | fb2660197ecc74e565545ea0aad7ccdf |
|
BLAKE2b-256 | abbdba26c9a2ccb88396db91bedbda04b084862e40718ffd00d3b9018c13b45e |