PyChecker是一个pytho脚本分析工具,它可以发现pytho脚本中的bugs,它支持pytho2.0–2.7。PyChecker可以发现的问题包括:
Noglobalfoud(e.g.,usigamodulewithoutimportigit)Passigthewrogumberofparameterstofuctios/methods/costructorsPassigthewrogumberofparameterstobuiltifuctios&methodsUsigformatstrigsthatdo'tmatchargumetsUsigclassmethodsadattributesthatdo'texistChagigsigaturewheoverridigamethodRedefiigafuctio/class/methodithesamescopeUsigavariablebeforesettigitselfisotthefirstparameterdefiedforamethodUusedglobalsadlocals(moduleorvariable)Uusedfuctio/methodargumets(caigoreself)Nodocstrigsimodules,classes,fuctios,admethods点击空白处退出提示







评论