跳转到主要内容

CLI工具,用于检查flake8插件及其代码。

项目描述

flake8-codes

CLI工具,用于检查flake8插件及其代码。

输入: 插件名称(pycodestyle),错误代码(W605),或代码前缀(W6)。

输出: 插件名称,错误代码,错误消息。

仅检查同一环境中安装的插件。

安装

python3 -m pip install -U --user flake8-codes

示例

$ 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

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分发

flake8-codes-0.2.2.tar.gz (10.8 kB 查看散列)

上传时间:

构建分发

flake8_codes-0.2.2-py3-none-any.whl (11.8 kB 查看散列)

上传于 Python 3

由以下支持