-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
.flake8
27 lines (27 loc) · 846 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[flake8]
# do not add excludes for files in repo
exclude = .venv/,.tox/,dist/,build/,.eggs/
format = pylint
# E203: https://github.com/python/black/issues/315
# ignore = E741,W503,W504,H,E501,E203
# The only allowed ignores are related to black and isort
# https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
# "H" are generated by hacking plugin, which is not black compatible
extend-ignore =
E203,
E501,
# complexity is also measured by pylint: too-many-branches
C901,
# We use type annotations instead
DAR104,
# https://github.com/terrencepreilly/darglint/issues/165
DAR301,
# duplicate of pylint W0611 (unused-import)
F401,
# duplicate of pylint E0602 (undefined-variable)
F821,
# duplicate of pylint W0612 (unused-variable)
F841,
H,
# 88 is official black default:
max-line-length = 88