Comment 4 for bug 1287336

Revision history for this message
Florent (florent.x) wrote :

I tried to clarify my advice through a new "tip" in the README: https://github.com/pyflakes/pyflakes#installation

Pyflakes is focused on doing analysis of the source code to bust some common pitfalls.

And the Flake8 tool is a small wrapper around Pyflakes (and pep8) which brings many convenient things, including the "# noqa" comment to ignore errors for the line.

IMHO it would be better to use Flake8 in your case : it avoids inventing a new syntax to suppress only the warnings of Pyflakes.

If don't bother about pep8, run Flake8 with the right switch:

    flake8 --select F my_project/