Skip to main content

Find TODO and FIXME comments introduced on the current branch vs a base branch.

Project description

tofix

A tool to find all TODO and FIXME comments introduced on your dev branch. No more polluting your task list with those left by previous developers in the codebase. Just the changes you made.

usage

Run tofix anywhere in a git repository while on a non-main branch. If outputting to a terminal, it gives a nice, human-readable format.

> tofix
README.md
7:TODO write an intro
8:TODO write an outro
todos.sh
48:for file in $(git diff --name-only -S"TODO" "${earliest}^" $latest); do
52: | grep "TODO" \

If piped to another command (e.g., fpp), it uses a machine-readable format:

> tofix | fpp
README.md:7:TODO write an intro
README.md:8:TODO write an outro
todos.sh:48:for file in $(git diff --name-only -S"TODO" "${earliest}^" $latest); do
todos.sh:52:        | grep "TODO" \

________________________________________________________________________________________________________
[f|A] selection, [down|j|up|k|space|b] navigation, [enter] open, [x] quick select mode, [c] command mode

Both of these formats are inspired by the output of ag.

future work

  • emacs integration
  • vscode integration

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

tofix-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

tofix-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file tofix-1.0.0.tar.gz.

File metadata

  • Download URL: tofix-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tofix-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c5a8e7b23190e31581ac8ce9c32d969d18d0c760e5aa96402592ed994d704a78
MD5 94a4d797e8575a60b269d5d072e9f845
BLAKE2b-256 8110bb727f2687d15ceff18faab43d9ff2959da219f72f2d2a193d3be25c552d

See more details on using hashes here.

File details

Details for the file tofix-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tofix-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tofix-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f411b6002765b20dfbc0eda917c319d7e17519ebeaf939ff6b20f4acbed177d
MD5 fc3e8d999c6511c53b18cd4b54560f72
BLAKE2b-256 de3b9bd42b5b1695f4f0c984834570c4aed81f81f603667f47d4833e73584d46

See more details on using hashes here.

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