generated from ghga-de/microservice-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
155 lines (142 loc) · 2.45 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
[build-system]
requires = [
"setuptools>=69",
]
build-backend = "setuptools.build_meta"
[project]
readme = "README.md"
authors = [
{ name = "German Human Genome Phenome Archive (GHGA)", email = "contact@ghga.de" },
]
requires-python = ">=3.12"
classifiers = [
"Development Status :: 1 - Planning",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Software Development :: Libraries",
"Intended Audience :: Developers",
]
name = "mass"
version = "3.0.3"
description = "Metadata Artifact Search Service - A service for searching metadata artifacts and filtering results."
dependencies = [
"typer>=0.12",
"ghga-service-commons[api]>=3.1.5",
"ghga-event-schemas>=3.1.1",
"hexkit[mongodb,akafka]>=3.5.0",
]
[project.license]
text = "Apache 2.0"
[project.urls]
Repository = "https://github.com/ghga-de/mass"
[project.scripts]
mass = "mass.__main__:cli"
[tool.setuptools.packages.find]
where = [
"src",
]
[tool.ruff]
exclude = [
".git",
".devcontainer",
"__pycache__",
"build",
"dist",
]
line-length = 88
src = [
"src",
"tests",
"examples",
"scripts",
]
target-version = "py312"
[tool.ruff.lint]
fixable = [
"UP",
"I",
"D",
]
ignore = [
"E111",
"E114",
"E116",
"PLW",
"RUF001",
"RUF010",
"RUF012",
"N818",
"B008",
"PLR2004",
"D205",
"D400",
"D401",
"D107",
"D206",
"D300",
"UP040",
]
select = [
"C90",
"F",
"I",
"S",
"B",
"N",
"UP",
"PL",
"RUF",
"SIM",
"D",
]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"scripts/*" = [
"PL",
"S",
"SIM",
"D",
]
"tests/*" = [
"S",
"SIM",
"PLR",
"B011",
]
".devcontainer/*" = [
"S",
"SIM",
"D",
]
"examples/*" = [
"S",
"D",
]
"__init__.py" = [
"D",
]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.mypy]
disable_error_code = "import"
show_error_codes = true
exclude = [
"build/lib/",
]
warn_redundant_casts = true
warn_unused_ignores = true
check_untyped_defs = true
no_site_packages = false
[tool.pytest.ini_options]
minversion = "8.0"
asyncio_mode = "strict"
[tool.coverage.paths]
source = [
"src",
"/workspace/src",
"**/lib/python*/site-packages",
]