todofind
Ferramenta de linha de comando, sem dependências, que encontra comentários TODO, FIXME, HACK, XXX, BUG e NOTE em um projeto.
Instalação
pip install todofind
Ou direto do código-fonte:
git clone https://github.com/Hazard14000/todofind
cd todofind
pip install -e .
Uso
todofind # varre a pasta atual
todofind src/ # varre uma pasta
todofind app.py # varre um arquivo
todofind -t TODO,FIXME # só estes marcadores
todofind --summary # contagem por marcador
todofind --format json # saída em JSON
todofind --fail-on-found # código de saída 1 se achar algo (CI)
Exemplo de saída:
src/app.py:12: [TODO] trocar por constante
src/app.py:40: [FIXME] quebra com None
Pastas como .git, node_modules, .venv e __pycache__ são ignoradas, assim como arquivos binários ou maiores que 1 MB.
Uso em CI (GitHub Actions)
- run: pip install todofind
- run: todofind --fail-on-found -t FIXME
Desenvolvimento
pip install -e . pytest
pytest
Contribuindo
Contribuições são bem-vindas! Veja issues marcadas com good first issue. Ideias para começar:
- ler
.gitignorepara decidir o que ignorar - saída colorida no terminal
- opção
--excludecom padrões glob - suporte a configuração em
pyproject.toml
Licença
MIT
Metadata
Release files for todofind 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| todofind-0.1.0.tar.gz | 5.7 kB | With provenance | Details for todofind-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| todofind-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for todofind-0.1.0-py3-none-any.whl |
Total release size: 11.5 kB
Release files / todofind-0.1.0.tar.gz
| Download URL | todofind-0.1.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0457abfab1c5718d2e43fdc31d926b8f4573b5e6ba30ec381d9a4b3382aa6e6d
|
|
BLAKE2b-256 checksum How to use checksums |
d5e4140c8be4a1c9c50b77265dc499fbbca9aa9d82adbd6b2f06e52416cc619a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / todofind-0.1.0-py3-none-any.whl
| Download URL | todofind-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cee3d4b6ca4af08f6ffce15181fbd23fb7db17c4271701bdc7f5fbcd87671b4
|
|
BLAKE2b-256 checksum How to use checksums |
ff16c57905f22989c391979dba7110116a8d518f74a7ec97a605571bbd116fbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for todofind 0.1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for todofind-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA 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.