Email Re: [Python-projects] 1 Bug(?) / 1 Code Smell / 1 Feature Request

from
Marc 'BlackJack' Rintsch <marc at rintsch dot de>
to
Sylvain Thenault <syt at logilab dot fr>
subject
Re: [Python-projects] 1 Bug(?) / 1 Code Smell / 1 Feature Request
date
2005/02/12 13:29
On Wednesday 09 February 2005 10:07, Sylvain Thénault wrote:

> > Last but not least a feature request.  When I started with Python I
> > didn't get the "a (logical) line ends if all opened parantheses are
> > closed" part of the language specs and often used '\' characters to
> > break long lines.  Now I prefer the solution with braces and it
> > would be nice to have an optional warning for line continuations
> > with '\'. It's easy to do with ``find`` and ``grep`` but then it's
> > not part of the rating.
>
> I think that would be a good example of custom raw checker :
>
> [script snipped]
>
> I've not tested it, but that should do the job :) Just put it in the
> logilab/pylint/checkers/ directory.

It does the job.  Many many thanks.  :-)

Ciao,
Marc 'BlackJack' Rintsch
-- 
"The optimist proclaims that we live in the best of all possible worlds;
 and the pessimist fears this is true."           -- James Branch Cabell

is a reply to