Marc-Antoine Ruel wrote:

So I came up with a different code path to read the first line to check if 
'python' is present
and consider it a python file in that case. Does this looks good to be 
integrated in the main
branch?

An alternative could be that pylint trusts its user, and accepts any file given as parameter to be a python file, while it expands given directories, by checking that it is a package, just like Python does.

(that is, disable checking of parameter extensions for files given at the 
command line).
Albert
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to