On 02 mars 13:07, Okko Willeboordse wrote: > Consider 2 files in the same folder, one importing the other. > > This runs fine from the folder holding the 2 files or from any other folder. > > Pylinting is fine from the folder holding the 2 files but not from any other > folder as it then results in; > > [F0401] Unable to import 'module' > > TMHO this is not right and therefore I added; > > import sys > import os > sys.path.insert(0, os.path.abspath(os.path.dirname(sys.argv[-1]))) > > to; > c:\Python26\Scripts\pylint > > Can this be fixed?
would you please file a ticket on pylint project page [1] for this pb? http://www.logilab.org/project/pylint -- 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
