Re: [Python-projects] pylint: Does not recognize the list append() operator as assignment equivalent

2010-08-03 Thread Marc 'BlackJack Rintsch
On Saturday 24 July 2010, Peter Williams wrote: > Global lists are identified as constants even though their contents > are modified (using the append() method) inside global functions. They are not identified as anything. Pylint sees that those names are not bound to imported names, functions,

Re: [Python-projects] simple way to run pylint on many files

2010-08-03 Thread Alexandre Fayolle
On Tuesday 03 August 2010 12:10:03 Gelonida Gmail wrote: > Hi Alexandre, > > > Thanks a lot for pointing this out. It is true one often forgets which > tool is under which license. > > I appreciate this. > > In my example this wouldn't be an issue > > I would just walk through a list of files

Re: [Python-projects] simple way to run pylint on many files

2010-08-03 Thread Alexandre Fayolle
On Tuesday 03 August 2010 09:33:30 Sylvain Thénault wrote: > You can easily run pylint programmatically. See pylint.lint.Run class > (its __init__ method actually). You can then easily give a custom > reporter that only display what you're interested in. Mind that Pylint is licensed under the GPL

Re: [Python-projects] simple way to run pylint on many files

2010-08-03 Thread Sylvain Thénault
On 03 août 00:43, Gelonida wrote: > Hi, Hi, > occasionally we'd like to run pylint on quite many files. > > If doing this the naive way > (running a python scipt with os.walk calling then python with pylint) > under windows, then quite some time is spent on starting and stopping > new executab