Skip to main content

flake8 stats visualised

Installation

$ pip install flake8-chart

Dependencies

  • click

  • pygal

Help

$ 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.

Usage

flake8chart takes the output of flake8 as an input. Make sure the --statistics flag is on with flake8.

$ flake8 --statistics ~/devel/projs/fn.py | \
> flake8chart \
> --chart-type=PIE --chart-output=stats_pie.svg \
> --csv-output=stats.csv

Chart Examples

Versions Tested

  • Python 2.7

  • Python 3.4

  • Python 3.5

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-chart-0.1.5.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file flake8-chart-0.1.5.tar.gz.

File metadata

  • Download URL: flake8-chart-0.1.5.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flake8-chart-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d2cac8ead63212d76a3d8530c9277649e1225f75adc6727e53a4c7888a774855
MD5 53fe1af7475a208c3c24381f7c9f90ab
BLAKE2b-256 325e4098414a885b9986743c1d4536a6a3f2f2b657d3aa2fae345a313d4784e8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page