Generate different reports of flake8 violations
Project description
A flake8 plugin to generate a responsive HTML dashboard summarizing all the flake8 violations. The resulting dashboard has an easy-to-read format across a variety of devices and web browsers.
Installation
If flake8 is not installed, run:
$ pip install flake8
Finally, to install the latest release of the plugin from the Python Package Index, run:
$ pip install flake8-dashboard
Alternatively, to install the latest development version (master branch), run:
$ pip install git+https://github.com/aperezhortal/flake8-dashboard
Usage
Run flake8 with the --format=dashboard option to create a nice-looking dashboard.
Options:
--outputdir=<output_dir>: Directory to save the HTML output (“./flake8_dashboard” by default).
--debug: Write additional debugging information as csv format (flake8 violations and aggregations).
--title=<title>: Set the dashboard’s title. No title by default.
Simple usage example:
$ flake8 --format=dashboard --outputdir=flake-report --title="My dashboard"
Demo
Credits
This package was created using the flake8-html package as a template.
The dashboard html page was created using the light-bootstrap-dashboard template by Creative Tim.
The interactive plots are created using Plotly Python .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for flake8_dashboard-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01fef171c15df9b6738eced238e8139d3c31af4c2450ca746ac645ba9c254f9a |
|
MD5 | 496ff2f2fd86f0f6a6a61b57f470738d |
|
BLAKE2b-256 | 037e125a4a30fe68824d63e09646c788292bf614d1e9b390df2098e5efaebfea |