Flake8 FIXME/TODO Checker

1.1.1 · active · verified Thu Apr 16

flake8-fixme is a plugin for the Flake8 Python code checker that identifies temporary developer notes like FIXME, TODO, and XXX within source code. It helps enforce code quality by flagging these comments, ensuring they are addressed. The current version is 1.1.1, released in May 2019. As a Flake8 plugin, its release cadence is tied to its own maintenance and compatibility with Flake8 updates.

Common errors

Warnings

Install

Quickstart

Install flake8-fixme alongside flake8. Flake8 will automatically discover the plugin. Running flake8 on your code will then report any FIXME, TODO, or XXX comments.

# my_module.py
def some_function():
    # FIXME: This needs to be refactored later.
    print('Hello, world!') # TODO: Add proper logging

# In your terminal:
# pip install flake8 flake8-fixme
# flake8 my_module.py

view raw JSON →