pyflakes best practices?

Miki Tebeka miki.tebeka at gmail.com
Thu Jun 5 01:12:51 EDT 2014


Greetings,

> So, what's the best practice here?  How do people deal with the false 
> positives?  Is there some way to annotate the source code to tell 
> pyflakes to ignore something?
We use flake8 (pyflakes + pep8) as pre step for the tests. We fail the tests on any output from flake8.

flake8 supports ignoring certain lines by appending a comment starting with # NOQA

HTH,
--
Miki



More information about the Python-list mailing list