Hello Hermann,
Z3 has an importchecker:
Import checker
This utility finds unused imports in Python modules. Its output is
grep-like and thus emacs-friendly.
...
Althought pyflakes works for me better.
http://www.divmod.org/projects/pyflakes
Tuesday, June 5, 2007, 12:50:40 PM, you wrote:
You may want to look into PyLint:
http://www.logilab.org/857
Or PyChecker:
http://pychecker.sourceforge.net/
I use PyLint through PyDev/Eclipse, and it's a godsend ...
J.F.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Hermann Himmelbauer
Sent:
On 6/5/07, Doyon, Jean-Francois [EMAIL PROTECTED] wrote:
You may want to look into PyLint:
http://www.logilab.org/857
Or PyChecker:
http://pychecker.sourceforge.net/
Or use PyFlakes:
http://www.divmod.org/projects/pyflakes
which doesn't execute code (like PyChecker does).
--
Martijn
On Tue, Jun 05, 2007 at 12:59:32PM +0200, Adam Groszer wrote:
Tuesday, June 5, 2007, 12:50:40 PM, Hermann wrote:
During development and especially refactoring, I'm often confronted with
cleaning up import statements.
Missing imports are reported by Python, however, unneeded imports are
On Tue, Jun 05, 2007 at 06:10:36PM +0200, Adam Groszer wrote:
Hello Marius,
Tuesday, June 5, 2007, 6:03:52 PM, you wrote:
pyflakes doesn't handle imports that are used by doctests only, e.g.:
...
Can the import checker in Z3 handle this?
I don't think so. As I remember it did not