-
Notifications
You must be signed in to change notification settings - Fork 547
/
.flake8
44 lines (40 loc) · 1.01 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[flake8]
min_python_version = 3.7.0
# 'NBAHTTP.send_api_request' is too complex (15)
max-complexity = 15
# Multiple Lines are over 127 (extend-ignore includes E501)
max-line-length = 127
exclude =
# TODO: Fix Violations
tools
scripts
extend-ignore =
# TODO: Fix Violations
# indentation is not a multiple of 4
E111
# unexpected spaces around keyword / parameter equals
E251
# at least two spaces before inline comment
E261
# block comment should start with ‘# ‘
E265
# expected 2 blank lines, found {n}
E302
# line too long ({chars} > {max-line-length} characters)
E501
# comparison to False should be 'if cond is False:' or 'if not cond:'
E712
# imported but unused
F401
# unable to detect undefined names
F403
# may be undefined, or defined from star imports:
F405
# trailing whitespace
W291
# no newline at end of file
W292
# blank line contains whitespace
W293
# blank line at end of file
W391