Skip to main content

todo-audit

A zero-dependency Python CLI tool that recursively scans a directory tree for source files containing TODO, FIXME, HACK, TEMP, XXX, BUG, or NOTE comments, then prints a grouped report by file.

Supported file extensions:

.py .js .ts .jsx .tsx .java .go .rs .c .cpp .h .hpp .rb .php

Install

pip install todo-audit

Usage

todo-audit [options]
Option Description Default
--dir <path> Root directory to scan Current dir
--ignore <pat> Comma-separated sub-string patterns to skip (none)
--json Output results as JSON false
--help Show help

Examples

# Scan the current directory
todo-audit

# Scan a specific project, ignoring node_modules and vendor
todo-audit --dir /path/to/project --ignore node_modules,vendor,.git

# Get JSON output for programmatic consumption
todo-audit --dir ./src --ignore __pycache__ --json

Example output

/home/user/project/src/main.py
-------------------------------
  12: PORT = 3000  # TODO: make configurable
  45: def legacy():  # FIXME: remove in v3

/home/user/project/src/utils.ts
--------------------------------
  8: // HACK: workaround for Chrome bug #1234

With --json:

{
  "/home/user/project/src/main.py": [
    { "line": 12, "content": "PORT = 3000  # TODO: make configurable" },
    { "line": 45, "content": "def legacy():  # FIXME: remove in v3" }
  ]
}

License

MIT

Metadata

Release files for todo-audit 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for todo-audit 1.0.0
File Size Uploaded Provenance Actions
todo_audit-1.0.0.tar.gz 4.1 kB Without provenance Details for todo_audit-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for todo-audit 1.0.0
File Interpreter ABI Platform Actions
todo_audit-1.0.0-py3-none-any.whl Python 3 none any Details for todo_audit-1.0.0-py3-none-any.whl

Total release size: 8.6 kB

Release files / todo_audit-1.0.0.tar.gz

Download URL todo_audit-1.0.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
07af7cf64295a75ae20b721284635d33946781a30884db5b6dac0525d07807dd
BLAKE2b-256 checksum
How to use checksums
448de66518b7352d29e7089fa2c404e11f98659cbf8d5e2d134e1d47dad55c57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / todo_audit-1.0.0-py3-none-any.whl

Download URL todo_audit-1.0.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db6d1cc5ae447296f0865d4c740fc9621d8bd8111f5e24867e856fcaed33fe4a
BLAKE2b-256 checksum
How to use checksums
552124002465794f4aa85cbfcbbf44ee794d5735a944e24653c262d9d294a542
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for todo-audit 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page