Socket
Socket
Sign inDemoInstall

flake8-colors

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    flake8-colors

Error highlight plugin for Flake8.


Maintainers
1

Readme

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

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.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc