I tried pylint on Windows 7 on those sources:
anonsvn.kde.org/home/kde/trunk/kdesupport/emerge/bin
go into this directory and do:
pylint emerge
using those downloads:
pylint-0a1268f1199f.zip
astng-1206b1dc3d6f.zip
common-18ff30bb2bf8.zip
results in a loooong backtrace
C:383: Invalid name "executableName" (should match (([A-Z_][A-
Z0-9_]*)|(__.*__))
$)
Traceback (most recent call last):
File "C:\Python27\Scripts\pylint", line 5, in <module>
pkg_resources.run_script('pylint==0.23.0', 'pylint')
File "C:\Python27\lib\site-packages\pkg_resources.py", line
489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "C:\Python27\lib\site-packages\pkg_resources.py", line
1207, in run_scrip
t
execfile(script_filename, namespace, namespace)
File "c:\python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\EGG-INFO\scripts\p
ylint", line 4, in <module>
lint.Run(sys.argv[1:])
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\lint.py", l
ine 860, in __init__
linter.check(args)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\lint.py", l
ine 493, in check
self.check_astng_module(astng, walker, rawcheckers)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\lint.py", l
ine 565, in check_astng_module
walker.walk(astng)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 524, in walk
self.walk(child)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 524, in walk
self.walk(child)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 524, in walk
self.walk(child)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 524, in walk
self.walk(child)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 524, in walk
self.walk(child)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 524, in walk
self.walk(child)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 524, in walk
self.walk(child)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 524, in walk
self.walk(child)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 524, in walk
self.walk(child)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\utils.py",
line 521, in walk
cb(astng)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\checkers\ty
pecheck.py", line 236, in visit_callfunc
called = safe_infer(node.func)
File "C:\Python27\lib\site-packages\pylint-0.23.0-
py2.7.egg\pylint\checkers\ut
ils.py", line 34, in safe_infer
value = inferit.next()
File "C:\Python27\lib\site-packages\logilab_astng-0.21.1-
py2.7.egg\logilab\ast
ng\bases.py", line 293, in wrapped
for res in _func(node, context, **kwargs):
File "C:\Python27\lib\site-packages\logilab_astng-0.21.1-
py2.7.egg\logilab\ast
ng\bases.py", line 317, in wrapper
for node in func(*args, **kwargs):
File "C:\Python27\lib\site-packages\logilab_astng-0.21.1-
py2.7.egg\logilab\ast
ng\inference.py", line 211, in infer_getattr
for owner in self.expr.infer(context):
File "C:\Python27\lib\site-packages\logilab_astng-0.21.1-
py2.7.egg\logilab\ast
ng\bases.py", line 293, in wrapped
for res in _func(node, context, **kwargs):
File "C:\Python27\lib\site-packages\logilab_astng-0.21.1-
py2.7.egg\logilab\ast
ng\bases.py", line 106, in _infer_stmts
for infered in stmt.infer(context):
File "C:\Python27\lib\site-packages\logilab_astng-0.21.1-
py2.7.egg\logilab\ast
ng\bases.py", line 293, in wrapped
for res in _func(node, context, **kwargs):
File "C:\Python27\lib\site-packages\logilab_astng-0.21.1-
py2.7.egg\logilab\ast
ng\bases.py", line 104, in _infer_stmts
context.lookupname = stmt._infer_name(frame, name)
AttributeError: 'str' object has no attribute '_infer_name'
c:\kderoot\emerge\bin>
--
Wolfgang
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects