asmeurer/pytest-flakes

Use pyflakes' isPythonFile instead of checking for .py

asmeurer opened this issue · 1 comments

pyflakes itself has support for files that don't end in .py but have a Python shebang line. The function it uses is part of the api (isPythonFile). This should use that.

I'd be happy to merge a PR if you are able to make one.