flake8
plugin to find commented out code.
Based on eradicate
project.
pip install flake8-eradicate
Run your flake8
checker as usual.
Commented code should raise an error.
We prefer not to raise a warning than to raise a false positive.
So, we ignore --aggressive
option from eradicate
.
Error code | Description |
---|---|
E800 | Found commented out code |
MIT.