Refuses to scan executable python scripts that don't end in .py #104
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Help! I have a full time job and would love contributions!
Description of the bug
In the code there's an automatic error if
if not path.endswith(".py")
but python executables usually lack the file extension.What you expected to happen
Scan the python file.
How to reproduce (as minimally and precisely as possible)
Make a python file with a #! line, but no .py in the filename.
Anthing else we need to know?
As an example, we're trying to use interrogate with a project that has a couple of python scripts within the repo in a bin directory, and none of them end in .py.
The text was updated successfully, but these errors were encountered: