mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
75a4305c5f
hunting common bugs.
21 lines
933 B
Plaintext
21 lines
933 B
Plaintext
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/
|