On 07 octobre 08:47, A.T.Hofkamp wrote: > 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).
that's the idea of the patch I sent -- Sylvain Thénault LOGILAB, Paris (France) Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services CubicWeb, the semantic web framework: http://www.cubicweb.org _______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
