[PATCH] pylintrc: max-line-length equal to check-code.py

Christian Ebert blacktrash at gmx.net
Wed Apr 4 05:17:56 CDT 2012


* Mads Kiilerich on Wednesday, April 04, 2012 at 11:35:09 +0200
> On 04/04/2012 10:44 AM, Christian Ebert wrote:
>> # HG changeset patch
>> # User Christian Ebert<blacktrash at gmx.net>
>> # Date 1333528887 -7200
>> # Node ID f669ec7274e1c7ff2c5047991bc45d91a3472954
>> # Parent  1d8eab6dfe655e23d9884a6830a81e1757e50e33
>> pylintrc: max-line-length equal to check-code.py
>> 
>> check-code's '.{85}' allows a maximum of 84 characters.
> 
> Yes, that is the hard limit.
> 
> But there is also
>  # warnings
>  [
>    (r'.{81}', "warning: line over 80 characters"),

Right, did not spot that, sorry. Then of course we can take
pylint's nagging as a warning.

> It would probably be better to make the 80 a hard limit and fix the
> failures.

What's the soft limit then? ;-)

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions


More information about the Mercurial-devel mailing list