Error highlight plugin for Flake8.
Project description
flake8-colors
ANSI colors highlight for Flake8
Installation
-
Install plugin:
pip install flake8-colors
-
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
-
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.
Project details
Release history Release notifications | RSS feed
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.8.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for flake8_colors-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b63b81bd7edf45ed4d9ac1d144b5fdcf60f6dffd1f4e6b066aaf5e77fe055af3 |
|
MD5 | 1726b2fac304c1152fe9f876f30c54b8 |
|
BLAKE2b-256 | b777a2b4ad29f81981f9ac2a2b312e2e7adc0f1ba6912a3e7c0d73fa3a981075 |