Generate different reports of flake8 violations
Project description
A flake8 plugin to generate an responsive HTML dashboard with a report of all the flake8 violations. The resulting dashboard is 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
Or 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-info: 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 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 Distributions
Built Distribution
Hashes for flake8_dashboard-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21f19393f7a7b08179b3f08103e52401ab580720ea0e6481dee4d1e9838828a6 |
|
MD5 | acc2f9550caffb653cd91cbb5bac564f |
|
BLAKE2b-256 | b807175294fae0261b02800d990f15e7a0f09cb9fc482febc224d4d81fd54db3 |