Skip to main content

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.

Release files for flake8-colors 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flake8-colors 0.1.9
File Size Uploaded
flake8-colors-0.1.9.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8-colors 0.1.9
File Interpreter ABI Platform
flake8_colors-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / flake8-colors-0.1.9.tar.gz

Download URL flake8-colors-0.1.9.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
35a5483a7d156d0438b402faea2fefe45b411571ce5dc93ba28670fd9429cc46
BLAKE2b-256 checksum
How to use checksums
419bd9431c1daca8cc0cd660e1a07272f896a38565207032985a600b9e08d492
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release files / flake8_colors-0.1.9-py3-none-any.whl

Download URL flake8_colors-0.1.9-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e80ed1839dc151730adc51207e632823aa1f393d6db32897ffd0e60dceecfd9f
BLAKE2b-256 checksum
How to use checksums
871c9773d449a82b32d3e1677d2e081b1dadde514b749f62bea35bebd6c6a343
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page