Author: | Marc 'BlackJack' Rintsch |
---|---|
Contact: | marc@rintsch.de |
Date: | 2006-04-03 |
Revision: | 835 |
Version: | 0.1 |
Copyright: | This document has been placed in the public domain. |
todox.py -- extract todo items from source files.
todox.py path(s)
Search files in path(s) for todo items. Paths may point to individual files or directories. The latter will be processed recursivly.
A small tool to extract todo items from source files. The files are searched for the words TODO, FIXME and XXX followed by a space, tab or colon character. The line from the word onwards will be displayed with filename and line number on stdout.
Some common directory and file names used by version control systems or for backup files are excluded from the search. These names are currently:
directory names: | |
---|---|
CVS and .svn | |
file names: | *~, *.bak, *.bck and *.py[co] |
The script requires Python 2.3 or higher.
Search all todo items in a given file:
$ todox.py todox.py todox.py:3:todo: Add copyright info and write documentation. todox.py:152:todo: The exclude parameters should be part of the class. Found 2 item(s).
None known yet.
Copyright 2006 Marc 'BlackJack' Rintsch <marc@rintsch.de>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.