Skip to main content

"Group and format flake8's output by the rules codes"

Project description

flake8-dac

Tool for formatting flake8's results in more readable way, in case there's a lot of them. The "dac" part in tool's name stands for "divide and conquer".

flake8 output with flake8-dac formatting example

  • Grouped by the type of cause (with number of occurrences).
  • Sorted by the number of occurrences (descending).
  • Information about number of problems.
  • Rich text and formatting.
  • Link to flake8rules.com (where you can find more details about the problem).

after

flake8 output example

before

Installation

pip install flake8-dac

Usage

flake8 [args] | flake8-dac

Why?

I wrote it for myself when I had to implement flake8 into an existing project that had many problems. I find it helpful when I have problems grouped by the same type of cause. I can easily determine which problems I can ignore, and then eliminate the rest. Maybe someone will find it useful too.

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

flake8_dac-0.1.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

flake8_dac-0.1.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page