Re: Linting python code...

2006-10-13 Thread Paul Boddie
Joel Rosdahl wrote:
> [EMAIL PROTECTED] 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

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Linting python code...

2006-10-13 Thread Joel Rosdahl
[EMAIL PROTECTED] writes:

> Christoph> On Tuesday 10 October 2006 14:06, Andrew Markebo wrote:
> >> Are there any python-code linter out there
>
> Christoph> PyLint (http://www.logilab.org/projects/pylint)
> Christoph> PyChecker (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 <[EMAIL PROTECTED]>
Key BB845E97; fingerprint 9F4B D780 6EF4 5700 778D  8B22 0064 F9FF BB84 5E97
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Linting python code...

2006-10-10 Thread skip

Christoph> On Tuesday 10 October 2006 14:06, Andrew Markebo wrote:
>> Are there any python-code linter out there

Christoph> PyLint (http://www.logilab.org/projects/pylint)
Christoph> PyChecker (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
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Linting python code...

2006-10-10 Thread Christoph Haas
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
-- 
http://mail.python.org/mailman/listinfo/python-list


Linting python code...

2006-10-10 Thread Andrew Markebo
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.
-- 
http://mail.python.org/mailman/listinfo/python-list