forked from ML-KULeuven/socceraction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
56 lines (51 loc) · 1.53 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
[flake8]
;enable-extensions = G
;exclude = .git, .venv
ignore =
; ambiguous variable names (e.g., l -> 1)
E741,
; missing type annotation for self in method
ANN101,
; whitespace before ':'
E203,
; line 79 characters
E501,
; line break before binary operator
W503,
; no explicit stacklevel argument found.
B028
per-file-ignores =
socceraction/__init__.py:D205,D400
; see https://github.com/terrencepreilly/darglint/issues/175
socceraction/xthreat.py:DAR000
tests/**:D100,D101,D102,D103,S101
select = ANN,B,B9,BLK,C,D,DAR,E,F,I,W
max-line-length = 100
max-complexity = 10
application-import-names = socceraction,tests
docstring-convention = numpy
strictness = short
docstring_style = numpy
[darglint]
docstring_style=numpy
strictness = long
[pylint]
good-names = i,j,k,e,x,_,pk,id
max-args = 10
max-attributes = 11
max-module-lines = 2000
max-public-methods = 25
max-returns = 11
max-statements = 100
output-format = colorized
disable=
C0103, ; Constant name "api" doesn't conform to UPPER_CASE naming style (invalid-name)
C0111, ; Missing module docstring (missing-docstring)
C0330, ; Wrong hanging indentation before block (add 4 spaces)
E0213, ; Method should have "self" as first argument (no-self-argument) - N805 for flake8
R0201, ; Method could be a function (no-self-use)
R0901, ; Too many ancestors (m/n) (too-many-ancestors)
R0903, ; Too few public methods (m/n) (too-few-public-methods)
ignored-classes=
contextlib.closing,
extension-pkg-whitelist = lxml