flake8 plugin to find commented out (or so called "dead") code.
This is quite important for the project in a long run.
pip install flake8-eradicate
It is also a valuable part of
flake8 checker as usual.
Commented code should raise an error.
--eradicate-aggressiveto enable aggressive mode from
eradicate, can lead to false positives
--eradicate-whitelistto overwrite the whitelist from
--eradicate-whitelist-extendto extend the whitelist from
|E800||Found commented out code|
Here's how output looks like (we are using