[Eric] pylint

Detlev Offenbach detlev at die-offenbachs.de
Tue Apr 10 12:41:21 BST 2007


On Dienstag, 10. April 2007, Vicent Mas wrote:
> Hi,
>
> I'm trying to use the pylint feature of eric4 in one of my python
> projects with no luck. pylint allways tries to import the package from
> the system site-packages directory. How can I pass to pylint
> the 'working directory' where the project to be checked lives?
>
> TIA.
>
> Version Numbers
> Python 2.4.4
> Qt 4.2.2
> PyQt 4.1.1
> sip 4.5.2
> QScintilla 2-snapshot-20070318
> Eric4 4.0-snapshot-20070402
> Bicycle Repair Man CVS-20041120

Hi,

the pylint process is started in the directory, where the project lives, with 
the project's main script as the module to be checked. If that is not true in 
your case, I'd like you to check, what gets passed to the pylint process 
(Checks/PyLint/PyLintExecDialog, start(...)).

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list