freebsd-ports/devel/pychecker/pkg-descr
2001-04-13 15:36:01 +00:00

20 lines
933 B
Text

PyChecker is a python source code checking tool to help you find
common bugs. It is meant to find problems that are typically caught
by a compiler. Because of the dynamic nature of python, some warnings
may be incorrect; however, spurious warnings should be fairly infrequent.
PyChecker works in a combination of ways. First, it imports each
module. If there is an import error, the module cannot be processed.
The import provides some basic information about the module. For each
function, class, and method, the code within the function is checked
for possible problems.
Types of problems that can be found include:
* No doc strings in modules, classes, functions, and methods
* self not the first parameter to a method
* Wrong number of parameters passed to functions/methods
* No global found (e.g., using a module without importing it)
* Global not used (module or variable)
WWW: http://pychecker.sourceforge.net/