forked from DHARPA-Project/kiara_plugin.onboarding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
186 lines (159 loc) · 3.65 KB
/
pyproject.toml
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
[build-system]
requires = [
"setuptools>=63",
"setuptools_scm[toml]>7.0.0",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "kiara_plugin.onboarding"
description = "kiara modules for data onboarding."
authors = [
{name = "Markus Binsteiner", email = "[email protected]"}
]
readme = "README.md"
requires-python = ">=3.8"
keywords = ["kiara"]
license = {text = "MPL-2.0"}
classifiers = [
"Framework :: Django",
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
dependencies = [
"kiara>=0.4.46",
"kiara_plugin.core_types>=0.4.20",
"httpx>=0.23.0",
"pyzenodo3>=1.0.2",
"PyGithub>=1.58.0",
"pyzotero>=1.5.9"
]
dynamic = ["version"]
[project.optional-dependencies]
dev_documentation = [
"kiara[dev_documentation]"
]
dev_testing = [
"kiara[dev_testing]",
]
dev_utils = [
"kiara[dev_utils]",
]
dev_all = [
"kiara[dev_all]"
]
[project.entry-points."kiara.plugin"]
onboarding = "kiara_plugin.onboarding"
[project.entry-points."kiara.data_types"]
onboarding = "kiara_plugin.onboarding:find_data_types"
[project.entry-points."kiara.model_classes"]
onboarding = "kiara_plugin.onboarding:find_model_classes"
[project.entry-points."kiara.modules"]
onboarding = "kiara_plugin.onboarding:find_modules"
[project.entry-points."kiara.pipelines"]
onboarding = "kiara_plugin.onboarding:find_pipelines"
[project.urls]
homepage = "https://github.com/DHARPA-Project/kiara_plugin.onboarding"
documentation = "https://DHARPA-Project.github.io/kiara_plugin.onboarding"
repository = "https://github.com/DHARPA-Project/kiara_plugin.onboarding"
[tool.black]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| external
)/
'''
[tool.setuptools_scm]
write_to = "src/kiara_plugin/onboarding/version.txt"
[tool.pytest.ini_options]
pythonpath = [
"src"
]
[tool.ruff]
line-length = 88
src = ["src", "tests"]
select = [
"E",
"F",
"RUF",
"I001",
"YTT",
"S",
"C4",
"T10",
"ISC",
"ICN",
"T20",
"Q",
"TID",
"PD",
"PLC",
"PLE",
"PLR",
"PLW",
"PIE",
]
ignore = ["E501", "S101", "SIM118", "SIM108", "PLR2004", "PLR0913", "S110", "PLR0912", "PLR0915", "PIE810"]
fix = true
fixable = ["E", "F", "RUF100", "I001", "Q"]
#fixable = ["E", "F", "RUF100", "I001"]
# Enable Pyflakes `E` and `F` codes by default.
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
per-file-ignores = { }
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.10.
target-version = "py310"
[tool.ruff.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[tool.ruff.isort]
known-first-party = ["kiara", "kiara_plugin"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.pyright]
include = ["src"]
exclude = ["**/__pycache__"]
ignore = []
reportMissingImports = true
reportMissingTypeStubs = false
executionEnvironments = [
]