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

Mads Kiilerich mads at kiilerich.com
Wed Apr 4 09:35:09 UTC 2012


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"),

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

/Mads



More information about the Mercurial-devel mailing list