[Eric] PyLint plugin not producing any output
detlev
detlev at die-offenbachs.de
Sat Dec 5 17:46:47 GMT 2009
On Dienstag, 1. Dezember 2009, Dan Bullok wrote:
> On advice from Mikhail Terekhov, I put an empty __init__.py file in the
> same directory as my project. PyLint works properly now. I don't really
> understand this requirement, as I run PyLint on single files from the
> command line all the time. And if it is a requirement, then it should
> definitely be stated clearly in the PyLint dialog that it only works on
> packages, and suggest that the user put an empty __init__.py file in the
> project directory if they are not already working on a package.
> -Dan
The PyLint plugin is used to check the project (that's why it is accessible
via the project menu). pylint -h gives you the following output.
Usage: pylint [options] module_or_package
That clearly indicates, that pylint only works on modules and packages.
Consequently the project's main directory must be a package. Should eric4
generate an empty __init__.py file, if it doesn't discover one in the project
dir?
Regards,
Detlev
>
> On Sunday 29 November 2009 20:20:05 Dan Bullok wrote:
> > The PyLint plugin isn't working for me. When using "Show Result Dialog",
> > it always says "No PyLint errors found." in the pylint dialog. When
> > using "Generate Textreport" or "Generate HTML Report", it always produces
> > a file with zero length. I'm using PyLint plugin 4.1.4. I get the same
> > results with Eric 4.3.9 and 4.4-snapshot-20091129.
> >
> > When running "pylint --version" I get the following output:
> > pylint 0.18.0,
> > astng 0.19.0, common 0.39.0
> > Python 2.6.4 (r264:75706, Nov 2 2009, 14:44:17)
> > [GCC 4.4.1]
> > _______________________________________________
> > Eric mailing list
> > Eric at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/eric
>
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric
>
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list