Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aperezhortal/flake8-dashboard

A flake8 plugin to generate an HTML dashboard with a report of the flake8 violations found.
https://github.com/aperezhortal/flake8-dashboard

dashboard flake8 html plugin

Last synced: 3 months ago
JSON representation

A flake8 plugin to generate an HTML dashboard with a report of the flake8 violations found.

Awesome Lists containing this project

README

        

================
flake8-dashboard
================

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:

.. code-block:: bash

$ pip install flake8

Finally, to install the latest release of the plugin from the
Python Package Index, run:

.. code-block:: bash

$ pip install flake8-dashboard

Alternatively, to install the latest development version (master branch), run:

.. code-block:: bash

$ 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=``: Directory to save the HTML output
("./flake8_dashboard" by default).
- ``--debug``: Write additional debugging information as csv format
(flake8 violations and aggregations).
- ``--title=``: Set the dashboard's title. No title by default.

Simple usage example:

.. code-block:: bash

$ flake8 --format=dashboard --outputdir=flake-report --title="My dashboard"

Demo
~~~~

`Check a demo here! `_

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`_ .

.. _light-bootstrap-dashboard: https://demos.creative-tim.com/light-bootstrap-dashboard/
.. _`Creative Tim`: https://www.creative-tim.com/
.. _`Plotly Python`: https://plot.ly/python/
.. _flake8-html: https://github.com/lordmauve/flake8-html