-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
75 lines (65 loc) · 1.2 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[metadata]
description_file = README.md
license_files =
LICENSE
[aliases]
test = pytest
[tool:pytest]
# addopts =
# --cov=pyonlinesvr
# --cov-report xml
# testpaths =
# tests
[coverage:run]
branch = False
parallel = True
omit =
# just a data file
pyonlinesvr/__version__.py
# autogenerated
pyonlinesvr/lib/onlinesvr.py
[coverage:report]
exclude_lines =
pragma: no cover
raise NotImplementedError
\.\.\.
def __repr__
pass
if __name__ == .__main__.:
fail_under = 80
skip_covered = True
sort = Cover
[mypy]
disallow_incomplete_defs = True
files =
pyonlinesvr/lib/compat.py,
pyonlinesvr/__init__.py,
pyonlinesvr/_version.py,
pyonlinesvr/osvr.py,
tests/lib/test_compat.py,
tests/test_osvr.py
follow_imports = silent
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-sklearn.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-joblib.*]
ignore_missing_imports = True
[flake8]
exclude =
.git,
__pycache__,
build,
dist,
# autogenerated
pyonlinesvr/lib/onlinesvr.py,
max-complexity = 10
hang-closing = False
max-line-length = 88
extend-select =
B950
extend-ignore =
E203,
E501