Skip to content

Instantly share code, notes, and snippets.

@sobolevn
Created May 31, 2023 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sobolevn/3c07a6abfcc440d79a2ef76274b2d18e to your computer and use it in GitHub Desktop.
Save sobolevn/3c07a6abfcc440d79a2ef76274b2d18e to your computer and use it in GitHub Desktop.
flake8 configuration example
[flake8]
# Base flake8 configuration:
# https://flake8.pycqa.org/en/latest/user/configuration.html
format = wemake
show-source = true
statistics = false
doctests = true
# darglint configuration:
# https://github.com/terrencepreilly/darglint
strictness = long
docstring-style = numpy
# Plugins:
max-complexity = 6
max-line-length = 80
# Disable some pydocstyle checks:
# Exclude some pydoctest checks globally:
ignore = D100, D104, D106, D401, W504, X100, RST303, RST304, DAR103, DAR203
# Excluding some directories:
exclude =
.git
__pycache__
.venv
.eggs
*.egg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment