tiger探长是一个普通的非pythonic模式检查器
inspectortiger的Python项目详细描述
检查员
tiger探长是一个常见的非pythonic模式检查器
示例
================================================================================================================================================================
InspectorTiger (v1.0.0)
Date: 2019-08-05 12:35:55.215904
Description: Tiger inspected your code and find these mistakes
Pythonicity
Segment 0: Low
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| file | line | report |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| examples/pattern1.py | 2 | YIELD_FROM |
| examples/pattern1.py | 7 | YIELD_FROM |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
Segment 1: High
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| file | line | report |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| examples/pattern2.py | 1 | DEFAULT_MUTABLE_ARG |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
================================================================================================================================================================