I'm pleased to announce the new release of Pylint and related projects (i.e. logilab-astng and logilab-common)! By installing PyLint 0.25.2, ASTNG 0.24 and logilab-common 0.58.1, you'll get a bunch of bug fixes and a few new features. Among the hot stuff:
Many thanks to everyone who contributed to these releases, Torsten Marek / Boris Feld in particular (both sponsored by Google by the way, Torsten as an employee and Boris as a GSoC student). Enjoy! |


Introducing the pylint-brain project

Comments
I'm getting Unused variable: ind:
for ind in indicators: del ind.valueIs it OK?
No, I can't reproduce the bug, could you fill a bug report with more details please?
Hmm, really. I'm using pydev with pylint and see this error. Was sure that's pylint failure, but now I think that's something with integration of pydev. Sorry for disturbing.
If you can, send me a link to your project at lothiraldan [AT] gmail.com and I will test on my computer.
And it still does not pip install due to the "unknown encoding: IBO-8859-1" bug. See http://www.logilab.org/82417
It should be fixed now, you will need to wait for next release of pylint.
The following is not getting flagged by pylint - would expect it to be flagged with warning W0621 - Redefining name 'x' from outer scope.
def appendToX():
x.append(45)
if __name__ == '__main__':
x = [34, 45]
appendToX()
print x
But the following two cases do get flagged by pylint, but they aren't as serious as the case above (W0621: 1,12:modifyX: Redefining name 'x' from outer scope)
def modifyX(x):
x = [1,2]
def changeX():
x = [5,6]
if __name__ == '__main__':
x = [34, 45]
modifyX(x)
changeX()
print x