Check for FIXME, TODO and other temporary developer notes.
This module provides a plugin for flake8
, the Python code checker.
This module was inspired by flake8-todo
Install with pip:
pip install flake8-fixme
The plugin officially supports Python >= 3.6
and flake8 >= 3.7
.
You may find other Python 3 versions work as well.
The plugin finds temporary comments you may not want to commit:
def my_function():
# FIXME actual implementation here!
pass
./my_file.py:2:7: T100 Fixme found (FIXME)
Each word has a seperate warning so you can adjust your workflow. We like to allow committing TODO
s, but deny committing FIXME
s.
setup.py
metadata to match other parts of the repoHACK
Upgrading to flake8-fixme
from flake8-todo
has the following breaking changes:
T100
: line contains FIXME
T101
: line contains TODO
T102
: line contains XXX
2.7