kevinw/pyflakes — pull request #22 by jehiah (2011-10-22 02:45:17+00:00)
Title: tag things with '# pyflakes.ignore'

One of my uses cases for pyflakes is integrating into a testing/build system. As a result i found it necessary to have a way of skipping certain things that I'm choosing are "ok" to get to a point where i can enforce a "no warnings before deploy" type of rule.

(the specific warnings that i wanted to skip don't matter so much here, just that i needed that ability; mostly it was things where i had conditional re-imports or purposefully unused imports)

This change allows me to add a comment at the end of any python line which i want pyflakes to ignore.

```
... # pyflakes.ignore
```