pylint, was Re: pygame - importing GL - very bad...

someone newsboost at gmail.com
Sat Jan 5 02:14:24 CET 2013


On 01/03/2013 05:52 PM, Terry Reedy wrote:

>> That seems like a improper error message from the tool.  "Invalid name"
>> does *not* properly describe that situation.  The name is *not*
>> "Invalid" in any sense of the word, and a "checker" that tells you it is
>> is creating needless false-positives.  An error checker should be saying
>> something like:
>>
>>      "self.lightDone: Does not match PEP8 recommended style"
>>
>> making it clear that this is *not* an error, it is a *style* related
>> *warning*.
>
> I quite agree. Wanting 3 chars for attribute names is not even PEP-8
> style but pylint-author style. I was really surprised at that. In that
> case, 'Does not match pylint recommended style.' or even 'configured
> styles'. I have not used pylint or pychecker as of yet.

I agree with you all...

Thanks, everyone - now I shall investigate pylint and friends in more 
detail on my own :-)




More information about the Python-list mailing list