[bind10-dev] pychecker, pyflakes, pylint

Shane Kerr shane at isc.org
Thu Mar 11 22:33:56 UTC 2010


Hey all,

I was wondering if any code checkers worked for Python 3.x, and I tried
pychecker. It actually seemed to more-or-less work:

bind10.py:45: Imported module (pprint) not used
bind10.py:346: Local variable (o) not used
bind10.py:502: Parameter (stack_frame) not used
bind10.py:506: No global (options) found
bind10.py:509: No global (boss_of_bind) found
bind10.py:511: Parameter (option) not used

Of these, I was able to clean up everything but the "Parameter (...) not
used", which comes from functions that need specific signatures (and I'm
not sure how to turn it off).

I also tried pyflakes, which caught at least some of these (pyflakes now
gives no warnings).

Finally, I tried pylint, but it complains about a lot of style. It could
possibly be convinced to be useful, but in true lint tradition, it is so
verbose that it seems worthless now.

--
Shane




More information about the bind10-dev mailing list