-
Notifications
You must be signed in to change notification settings - Fork 11
/
.flake8
25 lines (24 loc) · 837 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
[flake8]
# max line length for black
max-line-length = 100
target-version = ['py37']
ignore=
E24, # check ignored by default in flake8. Meaning unclear.
E121, # continuation line under-indented
E123, # closing bracket does not match indentation
E126, # continuation line over-indented for hanging indent
E203, # space before : (needed for how black formats slicing)
E226, # missing whitespace around arithmetic operator
E704, # multiple statements on one line (def)
E731, # do not assign a lambda expression, use a def
E741, # do not use variables named ‘l’, ‘O’, or ‘I’
W503, # line break before binary operator
W504 # line break after binary operator
exclude=
.git,
__pycache__,
dist,
docs/_build,
build
per-file-ignores =
docs/conf.py: E402