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.

Metadata

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 Provenance Actions
flake8-colors-0.1.9.tar.gz 2.9 kB Without provenance Details for flake8-colors-0.1.9.tar.gz

Built distribution (wheel)

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

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

Security for flake8-colors 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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