Skip to main content

Tool to report on comments such as TODO

Project description

code-comments

This project was created as a way of creating a central "annotation" file of all the useful notes that might be created in a code base such as todo or trivy comments.

Configuration

The project can be configured via a TOML file which by default is called .code-annotations.toml but can be override with the --config flag.

Below is an example which can be found at .code-annotations.toml

file_suffix=[".tf"]
output_file="ANNOTATIONS.md"
comment_syntax = ["#"]

[[headers]]
comment = "tfsec"
table_headers = "File:Line|Type|Comment"
[[headers]]
comment = "todo"
table_headers = "File:Line|Date|Comment"

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

code_comments-0.4.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

code_comments-0.4.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file code_comments-0.4.0.tar.gz.

File metadata

  • Download URL: code_comments-0.4.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for code_comments-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9a2c1f930da5b7fea1c27247983db1a799b6dffec3cec0c3cd010a35e007bcf1
MD5 65715caa87f6154998c6e4f4bad38b88
BLAKE2b-256 bc255785b327f0c8b606ef4f2c1bcdea7ae631bf623c0fc744ec7107590056d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for code_comments-0.4.0.tar.gz:

Publisher: publish.yaml on photosojourn/code-comments

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file code_comments-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: code_comments-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for code_comments-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c597a4163887b25da2488d3c38bd9492ad7ae923724b8c87dd4cd7189d7bddc5
MD5 5dfd3c9cd0d5d7b55441acf5b693cdc3
BLAKE2b-256 460266b5ae4cfcab222bc9e28b4f54b1d33af0e80162f01edc80df10a9186ca6

See more details on using hashes here.

Provenance

The following attestation bundles were made for code_comments-0.4.0-py3-none-any.whl:

Publisher: publish.yaml on photosojourn/code-comments

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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