Use pyflakes' isPythonFile instead of checking for .py
asmeurer opened this issue · 1 comments
asmeurer commented
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.
fschulze commented
I'd be happy to merge a PR if you are able to make one.