-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (117 loc) · 3.38 KB
/
pyproject.toml
File metadata and controls
129 lines (117 loc) · 3.38 KB
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
[project]
name = "modos"
description = "SMOC Multi-Omics Digital Object System API"
authors = [
{ name = "Swiss Data Science Center", email = "contact@datascience.ch" },
]
license = { text = "Apache-2.0" }
license-files = ["LICEN[CS]E*"]
readme = "README.md"
requires-python = ">=3.12,<3.14"
dynamic = ["version"]
dependencies = [
"calamus>=0.4.2,<0.5.0",
"crypt4gh>=1.7,<2.0",
"gtars>=0.2.2,<0.3.0",
"loguru>=0.7.3",
"modos-schema>=0.3.4",
"pandas>=2.2.3,<3.0.0",
"prompt-toolkit>=3.0.48,<4.0.0",
"pydantic>=2.8.2,<3.0.0",
"pyocli>=0.1.0,<1.0.0",
"pyfuzon>=0.4,<0.5; sys_platform != 'win32'",
"pyjwt>=2.10.1",
"pysam>=0.22.0,<0.24.0",
"pyteomics>=4.7.4,<5.0.0",
"pyyaml>=6.0.1,<7.0.0",
"rdflib>=6.3,<7.0",
"s3fs>=2024.3.1,<2025.0.0",
"typer[rich]>=0.7.0,<1.0.0",
"click>=8.1.3,<8.2.0",
"zarr>=3.0.0",
"platformdirs>=4.4.0",
"obstore>=0.8.2",
]
[dependency-groups]
dev = [
"ruff",
"pre-commit",
"pyinstrument",
"pytest",
"testcontainers[minio]",
"pytest-httpserver>=1.1.3",
]
docs = [
"myst-parser>=2.0.0,<3.0",
"sphinx>=7.2.6,<8.0",
"pydata-sphinx-theme>=0.15.2,<1.0",
"sphinx-click>=5.1.0,<6.0",
"sphinx-autoapi>=3.0.0,<4.0",
"sphinx-design>=0.5.0,<1.0",
"sphinxcontrib-mermaid>=2.0.0"
]
[project.scripts]
modos = "modos.cli:cli"
[project.urls]
Homepage = "https://github.com/sdsc-ordes/modos-api"
Documentation = "https://sdsc-ordes.github.io/modos-api"
Issues = "https://github.com/sdsc-ordes/modos-api/issues"
[tool.ruff]
# Allow lambda functions
lint.ignore = ["E731"]
line-length = 79
[tool.pytest.ini_options]
addopts = ["--doctest-modules"]
testpaths = ["src", "tests"]
markers = ["remote: marks remote tests (select with '-m \"remote\"')",]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/modos/__init__.py"
pattern = '__version__ = "(?P<version>[^"]+)"'
[tool.hatch.build.targets.wheel]
packages = ["src/modos"]
[tool.git-cliff.changelog]
header = "Notable changes introduced in modos releases are documented in this file\n\n"
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits
| filter(attribute="scope")
| sort(attribute="scope") %}
- *({{commit.scope}})* {{ commit.message }}
{%- if commit.breaking %}
{% raw %} {% endraw %}- **BREAKING**: {{commit.breaking_description}}
{%- endif -%}
{%- endfor -%}
{%- for commit in commits %}
{%- if commit.scope -%}
{% else -%}
- {{ commit.message }}
{% if commit.breaking -%}
{% raw %} {% endraw %}- **BREAKING**: {{commit.breaking_description}}
{% endif -%}
{% endif -%}
{% endfor -%}
{% raw %}\n{% endraw %}\
{% endfor %}\n
"""
footer = "<!--generated by git-cliff -->"
[tool.git-cliff.git]
conventional_commits = true
filter_commits = true
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^(fix|bug)", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
]
commit_preprocessors = [
{ pattern = 'Merged PR #[0-9]: (.*)', replace = "$1" },
{ pattern = " +", replace = " " },
]