Skip to main content

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", "@"]

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cpp_comment_format-0.2.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

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

Hashes for cpp_comment_format-0.2.1.tar.gz
Algorithm Hash digest
SHA256 52b0be1579e28d48621cf2440b60bf66bd4824e52c898b230f4addba0c97994c
MD5 09155f8342580883ca65651be6c31412
BLAKE2b-256 92fafb6728bc5c6aeb0036d51090d3a6406a4b5d58d1cf0890653ec83d6c6d49

See more details on using hashes here.

File details

Details for the file cpp_comment_format-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cpp_comment_format-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa1f557459e790a3dd7622b664a52ef9ffdb789695f48c5a1e3f301af5cae438
MD5 fb2660197ecc74e565545ea0aad7ccdf
BLAKE2b-256 abbdba26c9a2ccb88396db91bedbda04b084862e40718ffd00d3b9018c13b45e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page