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 'tfsec' 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.3.2.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

code_comments-0.3.2-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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