Please also check python scripts that are not named *.py
Bug #970465 reported by
Sandro Tosi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyflakes |
Fix Committed
|
Wishlist
|
Unassigned |
Bug Description
Hello,
as reported on Debian at http://
"""
It would be great if pyflakes could detect files that are python scripts
but are not named *.py. It would have to read the first two bytes of
each file to check for scripts and then read the rest of the line to
determine if it is a python script. It would need to process stuff like:
#!/usr/bin/python
#!/usr/
#!/usr/bin/env python
#!/usr/
#!/usr/
"""
Regards,
Sandro
Changed in pyflakes: | |
status: | New → Fix Committed |
To post a comment you must log in.
I believe that pyflakes checks any file, regardless whatever the file name is. It even accepts input on stdin. Is this somehow debian specific?