flake8状态可视化
flake8-chart的Python项目详细描述
flake8统计数据可视化
安装
$ pip install flake8-chart
依赖关系
- 单击
- 皮加尔
帮助
$ flake8chart --help
Usage: flake8chart [OPTIONS]
Options:
--chart-type [PIE|BAR] type of chart (default: 'PIE')
--chart-title TEXT title of chart (default: 'flake8 stats')
--chart-output TEXT name of SVG file to export (default:
'flake8_stats.svg')
--csv-output TEXT name of CSV file to export
--help Show this message and exit.
用法
flake8chart将flake8的输出作为输入。确保使用flake8打开--statistics标志。
$ flake8 --statistics ~/devel/projs/fn.py |\ > flake8chart \ > --chart-type=PIE --chart-output=stats_pie.svg \ > --csv-output=stats.csv
测试版本
- python 2.7版
- Python3.4
- Python3.5
许可证
麻省理工学院