Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orsinium-labs/flake8-codes
CLI tool to introspect flake8 plugins and their codes
https://github.com/orsinium-labs/flake8-codes
flake8 flake8-extensions flake8-plugin flake8-plugins linter python qa
Last synced: 3 months ago
JSON representation
CLI tool to introspect flake8 plugins and their codes
- Host: GitHub
- URL: https://github.com/orsinium-labs/flake8-codes
- Owner: orsinium-labs
- License: mit
- Created: 2021-01-14T13:15:31.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-23T09:54:29.000Z (over 2 years ago)
- Last Synced: 2024-07-08T15:02:45.956Z (4 months ago)
- Topics: flake8, flake8-extensions, flake8-plugin, flake8-plugins, linter, python, qa
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-flake8-extensions - flake8-codes - CLI tool to introspect flake8 plugins and their codes. (Tools)
README
# flake8-codes
CLI tool to introspect flake8 plugins and their codes.
**Input**: plugin name (`pycodestyle`), error code (`W605`), or code prefix (`W6`).
**Output**: plugin name, error code, error message.
Only plugins installed in the same environment are inspected.
## Installation
```bash
python3 -m pip install -U --user flake8-codes
```## Example
```bash
$ python3 -m flake8_codes W6
pycodestyle | W601 | .has_key() is deprecated, use 'in'
pycodestyle | W602 | deprecated form of raising exception
pycodestyle | W603 | '<>' is deprecated, use '!='
pycodestyle | W604 | backticks are deprecated, use 'repr()'
pycodestyle | W605 | invalid escape sequence '\%s'
pycodestyle | W606 | 'async' and 'await' are reserved keywords starting with Python 3.7
```