A small tool to extract TODOs
Project description
extract-todo
extract-todo is a simple commandline tool 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 tool. It can be installed from pypi with
pip install extract-todo
Usage
You can use this tool with the command
python -m extract_todo /path/to/file
or
extract-todo /path/to/file
It prints the filename, line number and the TODO text. Example output:
.\tests\files\test.py
LINE 1: test
LINE 5: test 2
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.1.tar.gz
(18.1 kB
view hashes)
Built Distribution
Close
Hashes for extract_todo-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 876998f014c77eb1c974af272432e8748ff5105dc996600bd0983fa44f00461e |
|
MD5 | 9f2312514471fbf1433e2a39312dafea |
|
BLAKE2b-256 | 5650c067e97eb449617aa71d8d7350127a724ddd898d36c191988268d80fe79b |