added flake8 config (#219)

This commit is contained in:
Frank Lee 2022-02-14 15:07:56 +08:00
parent 9ee197d0e9
commit 65e72983dc

22
.flake8 Normal file
View File

@ -0,0 +1,22 @@
[flake8]
ignore =
;W503 line break before binary operator
W503,
;E203 whitespace before ':'
E203,
; exclude file
exclude =
.tox,
.git,
__pycache__,
build,
dist,
*.pyc,
*.egg-info,
.cache,
.eggs
max-line-length = 120
per-file-ignores = __init__.py:F401