-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.cfg
140 lines (111 loc) · 2.41 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[options]
packages = find_namespace:
include_package_data = True
package_dir =
=src
zip_safe = False
[options.entry_points]
kiara.cli_subcommands =
doc = kiara_plugin.documentation.interfaces.cli.doc.commands:doc_group
kiara.data_types =
documentation = kiara_plugin.documentation:find_data_types
kiara.model_classes =
documentation = kiara_plugin.documentation:find_model_classes
kiara.modules =
documentation = kiara_plugin.documentation:find_modules
kiara.pipelines =
documentation = kiara_plugin.documentation:find_pipelines
[options.packages.find]
where = src
exclude =
tests
[aliases]
build = bdist_wheel
release = build upload
[bdist_wheel]
universal = 1
[devpi:upload]
no-vcs = 1
formats = sdist, bdist_wheel
[tool:pytest]
addopts =
--verbose
norecursedirs =
dist
build
.tox
testpaths = tests
[tox:tox]
envlist = py36, py37, py38, flake8
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-e{toxinidir}[dev_testing,all]
install_command = pip install --pre --extra-index-url https://pypi.fury.io/dharpa/ {opts} {packages}
commands =
pip install -U pip
py.test --basetemp={envtmpdir}
[testenv:flake8]
basepython = python
deps =
-e{toxinidir}[dev_testing,all]
flake8
install_command = pip install --pre --extra-index-url https://pypi.fury.io/dharpa/ {opts} {packages}
commands = flake8 src
[coverage:run]
branch = True
source = kiara_plugin.documentation
[coverage:paths]
source =
src/
*/site-packages/
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self\.debug
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
[flake8]
exclude =
.tox
build
dist
.eggs
docs/conf.py
.git
__pycache__
ignore = F405, W503, E501
max-line-length = 88
[isort]
profile = black
[mypy]
mypy_path =
src/
namespace_packages = true
plugins = pydantic.mypy
[mypy-appdirs]
ignore_missing_imports = true
[mypy-asyncclick]
ignore_missing_imports = true
[mypy-devtools]
ignore_missing_imports = true
[mypy-gensim.*]
ignore_missing_imports = true
[mypy-pandas]
ignore_missing_imports = true
[mypy-nltk.*]
ignore_missing_imports = true
[mypy-it_core_news_sm]
ignore_missing_imports = true
[mypy-networkx.*]
ignore_missing_imports = true
[mypy-pyarrow.*]
ignore_missing_imports = true
[mypy-ruamel.*]
ignore_missing_imports = true
[mypy-uvloop]
ignore_missing_imports = true