diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-14 11:08:21 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-03-17 12:37:56 -0400 |
commit | a17702d101c05d59d5716663cd54db9b08c4a242 (patch) | |
tree | e72d8890101cdab356b635d0e6ec12c199b41beb /python/pychecker | |
parent | 19285cc69ce9614d57128877b65fbd59927914c4 (diff) |
python/pychecker: Wrap README at 72 columns.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'python/pychecker')
-rw-r--r-- | python/pychecker/README | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/python/pychecker/README b/python/pychecker/README index 9fb5dcec9e2ac..e9f5cbd21d3df 100644 --- a/python/pychecker/README +++ b/python/pychecker/README @@ -1,17 +1,19 @@ -PyChecker is a tool for finding bugs in python source code. It finds problems -that are typically caught by a compiler for less dynamic languages, like C and -C++. It is similar to lint. Because of the dynamic nature of python, some -warnings may be incorrect; however, spurious warnings should be fairly -infrequent. +PyChecker is a tool for finding bugs in python source code. It finds +problems that are typically caught by a compiler for less dynamic +languages, like C and C++. It is similar to lint. 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. The code for each function, class, -and method is checked for possible problems. +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. The code for each function, class, and method is checked for +possible problems. Types of problems that can be found include: * No global found (e.g., using a module without importing it) -* Passing the wrong number of parameters to functions/methods/constructors +* Passing the wrong number of parameters to functions, methods, + constructors * Passing the wrong number of parameters to builtin functions & methods * Using format strings that don't match arguments * Using class methods and attributes that don't exist @@ -22,4 +24,3 @@ Types of problems that can be found include: * Unused globals and locals (module or variable) * Unused function/method arguments (can ignore self) * No doc strings in modules, classes, functions, and methods - |