跳转到主要内容

Flake8 精美插件包

项目描述

flake8-awesome

pypi Python: 3.6+ Downloads License: MIT

Flake8 精美插件包。

安装

pip install flake8-awesome

vs

pip install flake8 flake8-builtins flake8-comprehensions flake8-eradicate # etc.

Flake8 配置示例

[flake8]
enable-extensions = G
exclude = .git, .venv
ignore =
    A003 ; 'id' is a python builtin, consider renaming the class attribute
    W503 ; line break before binary operator
    S101 ; use of assert detected (useless with pytest)
max-complexity = 8
max-annotations-complexity = 3
max-expression-complexity = 7
max-line-length = 120
show-source = true

插件列表

  • flake8-annotations-complexity
  • flake8-bandit
  • flake8-breakpoint
  • flake8-bugbear
  • flake8-builtins
  • flake8-comprehensions
  • flake8-eradicate
  • flake8-expression-complexity
  • flake8-if-expr
  • flake8-isort
  • flake8-logging-format
  • flake8-print
  • flake8-pytest
  • flake8-pytest-style
  • flake8-requirements
  • flake8-return
  • pep8-naming

项目详情


下载文件

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

源分布

flake8-awesome-1.3.0.tar.gz (2.8 kB 查看哈希值)

上传时间: 源码

构建分发

flake8_awesome-1.3.0-py3-none-any.whl (2.7 kB 查看哈希值)

上传时间: Python 3

由以下支持