Skip to content

afonasev/flake8-awesome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flake8-awesome

pypi Python: 3.6+ Downloads License: MIT

Flake8 awesome plugins pack.

Installation

pip install flake8-awesome

vs

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

Example of Flake8 config

[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

List of plugins

  • 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