-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (91 loc) · 2.51 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (91 loc) · 2.51 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
[build-system]
requires = ["hatchling",
"the-caddie",
"uv-dynamic-versioning"]
build-backend = "hatchling.build"
[project]
name = "common_access_model"
description = "Internal Access model for the INCLUDE DCC."
authors = [
{name = "Robert Carroll", email = "robert.carroll@vumc.org"},
]
license = "MIT"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.12,<4.0"
dynamic = ["version"]
dependencies = [
"hatchling>=1.32.0",
"linkml>=1.11.0",
"linkml-runtime>=1.11.0",
"the-caddie",
"term-weaver",
"mkdocs-pymdownx-material-extras>=2.8",
]
[dependency-groups]
dev = [
"linkml>=1.9.3",
"mkdocs-material>=8.2.8",
"mkdocs-mermaid2-plugin>=1.1.1",
"jupyter>=1.0.0",
"mknotebooks>= 0.8.0",
"hatchling>=1.27.0",
"tomli>=2.0.0",
"the-caddie",
"term-weaver"
]
# See https://hatch.pypa.io/latest/config/build/#file-selection for how to
# explicitly include files other than default into the build distributions.
[tool.hatch.version]
source = "uv-dynamic-versioning"
# Ref.: https://github.com/ninoseki/uv-dynamic-versioning/
[tool.uv-dynamic-versioning]
vcs = "git"
style = "pep440"
pattern = "^v?(?P<base>\\d+\\.\\d+\\.\\d+)"
fallback-version = "0.0.0"
[tool.hatch.build.targets.sdist]
exclude = [
".direnv",
".venv",
"scratch"
]
include = [
"src/common_access_model/schema/",
"project/sqlalchemy/",
"scripts/",
]
# Activate the hook
[tool.hatch.build.targets.wheel.hooks.caddie-sqla]
# Ref.: https://docs.pytest.org/en/stable/reference/reference.html#configuration-options
[tool.pytest.ini_options]
testpaths = ["tests"]
# Ref.: https://github.com/codespell-project/codespell
[tool.codespell]
skip = [
"LICENSE",
"pyproject.toml",
"uv.lock",
"project/*",
"src/common_access_model/datamodel/common_access_model_pydantic.py",
"src/common_access_model/datamodel/common_access_model.py",
]
# Reminder: words have to be lowercased for the ignore-words-list
ignore-words-list = "linke"
quiet-level = 3
# Ref.: https://github.com/crate-ci/typos (spell checker)
[tool.typos.default.extend-words]
linke = "linke"
[tool.typos.files]
extend-exclude = [
"LICENSE",
"uv.lock",
"pyproject.toml",
"project/*",
"src/common_access_model/datamodel/common_access_model_pydantic.py",
"src/common_access_model/datamodel/common_access_model.py",
]
[tool.uv.sources]
#ftd-dd = { git = "https://github.com/carrollaboratory/ftd-dd" }
term-weaver = { git = "https://github.com/include-dcc/term-weaver" }
the-caddie = { git = "https://github.com/carrollaboratory/the-caddie" }