[Python-ideas] lint in stdlib
Michael Foord
fuzzyman at gmail.com
Tue May 5 11:29:45 CEST 2009
2009/5/5 Aahz <aahz at pythoncraft.com>
> On Mon, May 04, 2009, CTO wrote:
> > Aahz:
> >> On Mon, May 04, 2009, John Graham wrote:
> >>>
> >>> Has anyone ever suggested a standard pylint, something that might be
> >>> distributed with the interpreter/libraries? As important as the
> >>> 'look-and-feel' is to Python, it seems like an automated style-checker
> >>> / 'you probably didn't meant to do that' engine would be a good idea
> >>> to introduce even newbies to the language instead of them having to
> >>> search it out.
> >>
> >> It's been mentioned; I don't remember why it never got any traction,
> >> whether because the authors didn't want to deal with it or nobody
> >> bothered submitting a PEP (this definitely needs a PEP).
> >
> > I'll volunteer to put one together if somebody's willing to walk me
> > through the PEP process.
>
> Sure! I suggest that you start by checking with the maintainers of
> pychecker and pylint to find out how they feel about it.
PyLint is huge and depends on a whole ream of support libraries. I think the
logilab guys would probably rather maintain it themselves and I'm not sure
it is really suitable for the standard library anyway.
PyFlakes and PyChecker are both very good; although neither does as much as
PyLint. I'm not sure if either of the two does enough to enforce full PEP-8
compliance.
Michael Foord
>
> --
> Aahz (aahz at pythoncraft.com) <*>
> http://www.pythoncraft.com/
>
> "It is easier to optimize correct code than to correct optimized code."
> --Bill Harlan
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>
--
http://www.ironpythoninaction.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090505/de9ba4be/attachment.html>
More information about the Python-ideas
mailing list