from
Sylvain Thénault <sylvain.thenault at logilab dot fr>
to
Roger Binns <rogerb at rogerbinns dot com>
cc
Python-Projects <python-projects at lists dot logilab dot org>
subject
Re: [Python-projects] Unauthorized construction
date
On Thursday 24 July à 23:48, Roger Binns wrote:2003/07/25 09:06
> > > I am very glad that pylint checks for unauthorized constructions
> > > and it finds a generous number throughout my code. Unfortunately
> > > nowhere does it say what an unauthorized construction actually
> > > is and I have not got the faintest clue.
> >
> > yes, that's because unauthorized construction are detected using a
> > customizable regexp and I don't know any way to get the regexp string
> > from the compiled regexp. And even if a way exists, the regexp would not
> > be very readable. I'll document the default regexp in pylint --help.
>
> Err, you still haven't actually said what an unauthorised construction
> is. The only meaning I know of is where you are building something
> you aren't allowed to, like a house or office. Not particularly
> relevant to software ...
For the moment, unauthorized constructs are :
- operators not preceded and followed by a white space
- comma not followed by a white space
- colon followed by a new line
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
_______________________________________________
Python-projects mailing list
Python-projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

