
On Tue, May 5, 2009 at 5:29 AM, Michael Foord <fuzzyman@gmail.com> wrote:
2009/5/5 Aahz <aahz@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.
We use pylint at work for our own lint tool. It's been useful to us. I'm not sure that I see much value in adding it or something like it to the standard distribution. If there is a good lint tool that supports PEP 8 and is available for download, I expect most python developers would install it. Jeremy
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@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@python.org http://mail.python.org/mailman/listinfo/python-ideas
-- http://www.ironpythoninaction.com/
_______________________________________________ Python-ideas mailing list Python-ideas@python.org http://mail.python.org/mailman/listinfo/python-ideas