Created
May 31, 2023 14:26
-
-
Save sobolevn/3c07a6abfcc440d79a2ef76274b2d18e to your computer and use it in GitHub Desktop.
flake8 configuration example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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