Skip to main content

Error highlight plugin for Flake8.

Project description

flake8-colors

ANSI colors highlight for Flake8

Installation

  1. Install plugin:

    pip install flake8-colors
  2. Use the following example format in your .flake8 file:

    format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s
  3. Enjoy!

Example image

Example image

Usage

There are three forms of tags:

  • ${COLOR}

  • ${COLOR_MODIFIER}

  • ${TAG}

Colors:

  • black

  • red

  • green

  • yellow

  • blue

  • purple

  • cyan

  • white

Modifiers:

  • fg

  • bold

  • underline

  • bg

Tags:

  • bold

  • underline

  • reset

Credits

Inspired by flake8-format-ansi

Contribution

Just do whatever you want to do.

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-colors-0.1.6.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file flake8-colors-0.1.6.tar.gz.

File metadata

File hashes

Hashes for flake8-colors-0.1.6.tar.gz
Algorithm Hash digest
SHA256 508fcf6efc15826f2146b42172ab41999555e07af43fcfb3e6a28ad596189560
MD5 e83dd38eb9669d955cb0d92cea251729
BLAKE2b-256 04621afebe73ea28b363c80aab892298c83f510c65ae079c2c8129f0ea50db46

See more details on using hashes here.

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