On 2/8/2016 16:37, John Mark Vandenberg wrote: > fwiw, pyflakes doesnt detect this. I've created a bug for that > https://bugs.launchpad.net/pyflakes/+bug/1543246 Flake8 does, so it might be in the ... poorly named ... pep8 checker.