flake8-colors
ANSI colors highlight for Flake8
Installation
-
Install plugin:
pip install flake8-colors -
Use the following example format in your
.flake8file:format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s -
Enjoy!
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.
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.9.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flake8-colors-0.1.9.tar.gz.
File metadata
- Download URL: flake8-colors-0.1.9.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35a5483a7d156d0438b402faea2fefe45b411571ce5dc93ba28670fd9429cc46
|
|
| MD5 |
ac9be828eeed47c53851c8f82b2dd472
|
|
| BLAKE2b-256 |
419bd9431c1daca8cc0cd660e1a07272f896a38565207032985a600b9e08d492
|
File details
Details for the file flake8_colors-0.1.9-py3-none-any.whl.
File metadata
- Download URL: flake8_colors-0.1.9-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e80ed1839dc151730adc51207e632823aa1f393d6db32897ffd0e60dceecfd9f
|
|
| MD5 |
aa831431435ec71998d2b959c766f1ee
|
|
| BLAKE2b-256 |
871c9773d449a82b32d3e1677d2e081b1dadde514b749f62bea35bebd6c6a343
|