Pytest plugin for detecting commented out code in python files.
install via::
pip install pytest-eradicate
if you then type::
py.test --eradicate
every file ending in .py
will be discovered and checked
for commented out code.
Eradicate is a tool to detect commented out code in Python files.
As the developer states commented out code has no place in your repository.
Besides that, commented out code is often an indicator for debug statements left behind or code moved out of the way during development.