-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (78 loc) · 2 KB
/
pyproject.toml
File metadata and controls
90 lines (78 loc) · 2 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
[project]
name = "chemrof"
description = "Chemical Entities, Materials, and Reactions Ontological Framework"
authors = [
{name = "cmungall", email = "cjm@berkeleybop.org"},
]
license = "CC0-1.0"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"linkml-runtime>=1.9.0",
"oaklib>=0.5.20",
"linkml-transformer>=0.2.2",
"linkml>=1.6.7",
"linkml-owl>=0.5.0",
"duckdb-engine >=0.11.2",
"toml>=0.10.2",
"rdkit>=2024.3.5",
"typer>=0.9.0",
"httpx>=0.27.0",
]
[tool.uv]
package = true
[project.scripts]
chemrof = "chemrof.cli.main:app"
[dependency-groups]
dev = [
"linkml>=1.9.5",
"mkdocs>=1.2.3",
"mkdocs-material>=8.1.8",
"mkdocs-mermaid2-plugin>=1.2.1",
"linkml-datalog>=0.2.0",
"jupyter",
"jupysql",
]
[tool.deptry]
known_first_party = ["chemrof"]
extend_exclude = ["docs"]
# See https://hatch.pypa.io/latest/config/build/#file-selection for how to
# explicitly include files other than default into the build distributions.
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "uv-dynamic-versioning"
# Ref.: https://github.com/ninoseki/uv-dynamic-versioning/
[tool.uv-dynamic-versioning]
vcs = "git"
style = "pep440"
fallback-version = "0.0.0"
# 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/chemrof/datamodel/chemrof_pydantic.py",
"src/chemrof/datamodel/chemrof.py",
]
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/chemrof/datamodel/chemrof_pydantic.py",
"src/chemrof/datamodel/chemrof.py",
]