Verified Commit 1a13a5ac authored by Dan Jones's avatar Dan Jones
Browse files

chore: add flake8 config

parent e72ccb17
[flake8]
# Black formats code with max line length of 88
# Bugbears B950 warning allows lines to be 10% longer than flake8's max
max-line-length = 80
# Errors and warnings to report
select =
C,
E,
F,
W,
B,
# Allow max line length to be exceeded by 10% before warning.
B950
# Errors and warnings to ignore
ignore =
# Black puts space around slice operator which flake8 errors on.
E203,
# No error on max line length exceeded as B950 is doing this for us.
E501,
# Black puts line breaks before binary operators so don't warn this.
W503
B036
E999
# Folders to ignore
exclude =
.git,
*.pyc,
__pycache__,
./docker,
./docs,
./kustomize
./requirements.txt
./requirements-dev.txt
./CHANGELOG.md
./CONTRIBUTING.md
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment