-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
43 lines (39 loc) · 931 Bytes
/
setup.cfg
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
[flake8]
max-methods = 10
ignore =
WPS305,
W391,
E123,
WPS410,
WPS326,
E131,
E302,
N813,
# allow lowercase imports (pc, numpy) TODO exceptions?
I,
# TODO this will help with import order
Q000,
# dont care if u use single or double quotes
N803,
# Allow uppercase args (i.e. component class) TODO exceptions?
C408,
# Allow dict() calls
C812,
# don't complain about trailing comma
E241,
# allow extra spaces for alignment
W504,
# Line break after binary operator
W503,
# Line break before binary operator
E126,
# hanging indent
show-violation-links = True
max-line-length = 79
per-file-ignores =
# "imported but unused" is irrelevant (__init__ does namespace flattening)
**/__init__.py: F401
max-cognitive-score = 26
max-cognitive-average = 10
[pydocstyle]
convention=numpy