-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
30 lines (30 loc) · 803 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
28
29
30
[flake8]
# reference: https://lintlyci.github.io/Flake8Rules
ignore =
# white before ':' (may conflict with black)
E203,
# line break before a binary operator
W503,
# mccabe complexity test
C901,
# unused imports
F401,
# too many blank lines
E303,
# # blank line at end of file
W391,
# continuation line under-indented for visual indent
# (forces indentation to opening parentheses if anything appears on the first line)
E128,
# missing whitespace around arithmetic operator
# (because selective use of whitespace is arguably clearer, e.g.,
# `y = 2 * x**(1/3)` is clearer than `y = 2 * x ** (1 / 3)`
E226,
exclude =
docs,
legacy,
notebooks,
ignore,
tests/artifacts
max-line-length = 95
max-complexity = 18