I'm trying to clean flake8 errors from my code, and I have an ipdb
import which should stay there.
I tried:
import ipdb # noqa: F811
import ipdb # NOQA
import ipdb # noqa
But all give the same error: - ipdb imported
How can I make it go away? (I don't want to ignore it entirely, as I don't want any other ipdb
imports in the code, only to allow this one)
EDIT: I may have been wrong. I now suspect this is not Flake8 related, but debug-statements
pre-commit hook related.