# 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](https://habrastorage.org/files/0a7/cf5/47c/0a7cf547cd03457385c23691a4f29869.png)
## 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](https://github.com/jayvdb/flake8-format-ansi/)
# Contribution
Just do whatever you want to do.
Raw data
{
"_id": null,
"home_page": "https://github.com/and3rson/flake8-colors",
"name": "flake8-colors",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Andrew Dunai",
"author_email": "andrew@dun.ai",
"download_url": "https://files.pythonhosted.org/packages/41/9b/d9431c1daca8cc0cd660e1a07272f896a38565207032985a600b9e08d492/flake8-colors-0.1.9.tar.gz",
"platform": "",
"description": "# flake8-colors\nANSI colors highlight for Flake8\n\n## Installation\n\n1. Install plugin:\n\n ```\n pip install flake8-colors\n ```\n\n2. Use the following example format in your `.flake8` file:\n\n ```\n format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s\n ```\n\n3. Enjoy!\n\n ![Example image](https://habrastorage.org/files/0a7/cf5/47c/0a7cf547cd03457385c23691a4f29869.png)\n\n## Usage\n\nThere are three forms of tags:\n\n - ${COLOR}\n - ${COLOR_MODIFIER}\n - ${TAG}\n\nColors:\n\n - black\n - red\n - green\n - yellow\n - blue\n - purple\n - cyan\n - white\n\nModifiers:\n\n - fg\n - bold\n - underline\n - bg\n\nTags:\n\n - bold\n - underline\n - reset\n\n# Credits\n\nInspired by [flake8-format-ansi](https://github.com/jayvdb/flake8-format-ansi/)\n\n# Contribution\n\nJust do whatever you want to do.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Error highlight plugin for Flake8.",
"version": "0.1.9",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "871c9773d449a82b32d3e1677d2e081b1dadde514b749f62bea35bebd6c6a343",
"md5": "aa831431435ec71998d2b959c766f1ee",
"sha256": "e80ed1839dc151730adc51207e632823aa1f393d6db32897ffd0e60dceecfd9f"
},
"downloads": -1,
"filename": "flake8_colors-0.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "aa831431435ec71998d2b959c766f1ee",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3981,
"upload_time": "2020-11-16T09:38:39",
"upload_time_iso_8601": "2020-11-16T09:38:39.087600Z",
"url": "https://files.pythonhosted.org/packages/87/1c/9773d449a82b32d3e1677d2e081b1dadde514b749f62bea35bebd6c6a343/flake8_colors-0.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "419bd9431c1daca8cc0cd660e1a07272f896a38565207032985a600b9e08d492",
"md5": "ac9be828eeed47c53851c8f82b2dd472",
"sha256": "35a5483a7d156d0438b402faea2fefe45b411571ce5dc93ba28670fd9429cc46"
},
"downloads": -1,
"filename": "flake8-colors-0.1.9.tar.gz",
"has_sig": false,
"md5_digest": "ac9be828eeed47c53851c8f82b2dd472",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2882,
"upload_time": "2020-11-16T09:38:40",
"upload_time_iso_8601": "2020-11-16T09:38:40.417770Z",
"url": "https://files.pythonhosted.org/packages/41/9b/d9431c1daca8cc0cd660e1a07272f896a38565207032985a600b9e08d492/flake8-colors-0.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2020-11-16 09:38:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "and3rson",
"github_project": "flake8-colors",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "flake8-colors"
}