By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,199 Members | 1,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,199 IT Pros & Developers. It's quick & easy.

Linting python code...

P: n/a
Alalalala lint.. alalalala lint...

Ehm :-)

Are there any python-code linter out there - or the code is so easy to
write that it always is so perfekt? :-)

/Andy

--
Don't walk in front of me, I might be unable to follow you.
Don't walk after me, I might be unable to lead you.
Just walk by my side and be my friend.
Oct 10 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On Tuesday 10 October 2006 14:06, Andrew Markebo wrote:
Are there any python-code linter out there
PyLint (http://www.logilab.org/projects/pylint)
PyChecker (http://pychecker.sf.net)

Christoph
Oct 10 '06 #2

P: n/a

ChristophOn Tuesday 10 October 2006 14:06, Andrew Markebo wrote:
>Are there any python-code linter out there
ChristophPyLint (http://www.logilab.org/projects/pylint)
ChristophPyChecker (http://pychecker.sf.net)

New kid on the block:

PyFlakes http://divmod.org/trac/wiki/DivmodPyflakes

It doesn't do nearly as much as the other two but doesn't import the
modules, so it can be used in places the others can't.

Skip
Oct 10 '06 #3

P: n/a
sk**@pobox.com writes:
ChristophOn Tuesday 10 October 2006 14:06, Andrew Markebo wrote:
>Are there any python-code linter out there

ChristophPyLint (http://www.logilab.org/projects/pylint)
ChristophPyChecker (http://pychecker.sf.net)

New kid on the block:

PyFlakes http://divmod.org/trac/wiki/DivmodPyflakes

It doesn't do nearly as much as the other two but doesn't import the
modules, so it can be used in places the others can't.
I thought PyLint doesn't import modules either. Am I mistaken?

--
Regards,
Joel Rosdahl <jo**@rosdahl.net>
Key BB845E97; fingerprint 9F4B D780 6EF4 5700 778D 8B22 0064 F9FF BB84 5E97
Oct 13 '06 #4

P: n/a
Joel Rosdahl wrote:
sk**@pobox.com writes:
[PyLint, PyChecker]
New kid on the block:

PyFlakes http://divmod.org/trac/wiki/DivmodPyflakes

It doesn't do nearly as much as the other two but doesn't import the
modules, so it can be used in places the others can't.

I thought PyLint doesn't import modules either. Am I mistaken?
My impression was that PyLint only inspects the AST (using the astng
package), whereas PyChecker can be asked to do only that, or to
actually import the modules as well.

Paul

Oct 13 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.