Skip to main content

Error highlight plugin for Flake8.

Project description


ANSI colors highlight for Flake8


  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


There are three forms of tags:

  • ${COLOR}
  • ${TAG}


  • black
  • red
  • green
  • yellow
  • blue
  • purple
  • cyan
  • white


  • fg
  • bold
  • underline
  • bg


  • bold
  • underline
  • reset


Inspired by flake8-format-ansi


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.

Files for flake8-colors, version 0.1.9
Filename, size File type Python version Upload date Hashes
Filename, size flake8_colors-0.1.9-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size flake8-colors-0.1.9.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page