A small tool to extract TODOs
Project description
extract-todo
extract-todo is a simple commandline script for the extraction of TODOs. It can extract TODOs from single-line-comments like:
# TODO something todo
It prints the file, line number and the TODO text.
installation
You need python3+ to run this script. It is no installation required but you can install it with
python setup.py install
or install it from pypi with
pip install extract-todo
usage
You can use this script with the command
python -m extract_todo /path/to/file
or after installation
extract-todo /path/to/file
It prints the filename, line number and the TODO text.
Author and License
Copyright (C) Jens Wilberg July 2021
extract_todo.py is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
extract_todo.py is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with extract_todo.py. If not, see <http://www.gnu.org/licenses/>.
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
extract-todo-0.3.0.tar.gz
(18.1 kB
view hashes)
Built Distribution
Close
Hashes for extract_todo-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bfdd5f21529f2b5bb9dd58139da0df6512f33061f70b80f51aa981c7c0f72b2 |
|
MD5 | bb632a27929b822f5df44f809a427f55 |
|
BLAKE2b-256 | df88bddb9e6af2afae51abe8bdc80e9fdb982054cefc5cd5f7b810baabe26d6c |