[Python-projects] pylint problems

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Nov 15 19:29:15 CET 2006


On Thursday 19 October à 19:45, Andreas Kostyrka wrote:
> Hi!
> 
> I've upgraded to pylint 0.12.1 and I'm seeing this kind of errors often:
> 
> andreas at andi-lap:~/git-sandbox/project-eventspartition> pylint copyrows.py
> Problem importing module: classes.pyc
> Problem importing module: classes.pyo
> Problem importing module: classes.py
> No config file found, using default configuration
> ************* Module copyrows
> C: 57: Line too long (102/80)
> C: 59: Line too long (118/80)
> C: 69: Line too long (93/80)
> C:  1: Missing docstring
[snip]
> AttributeError: 'list' object has no attribute 'parent'
> 
> The stmt2 line is just a print I've added before the thing bombs out.
> 
> andreas at andi-lap:~/git-sandbox/project-eventspartition> pylint --version
> Problem importing module: classes.pyc
> Problem importing module: classes.pyo
> Problem importing module: classes.py
> No config file found, using default configuration
> pylint 0.12.1, 
> astng 0.16.1, common 0.19.3
> Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58) 
> [GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)]
> 
> Any ideas what is causing this?

hum, no. Maybe could you send me the file causing problem or a reduced
test case so I could investigate this ?

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science



More information about the Python-Projects mailing list