-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (87 loc) · 2.19 KB
/
pyproject.toml
File metadata and controls
100 lines (87 loc) · 2.19 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
[project]
name = "linkml-map"
description = "a framework for specifying and executing mappings between data models"
readme = "README.md"
authors = [
{name = "cmungall", email = "cjm@berkeleybop.org"},
]
requires-python = ">=3.10,<3.14"
dynamic = [ "version" ]
dependencies = [
"asteval>=1.0.5",
"click>=8",
"curies",
"deepdiff>=6.0",
"duckdb>=1.1.0",
"flatten-dict>=0.4.2",
"graphviz>=0.20",
"jinja2>=3",
"lark>=1",
"linkml>=1.10.0",
"linkml-runtime>=1.10.0",
"more-itertools>=10.0.0",
"pint>=0.20",
"pydantic>=2,<3",
"pyyaml",
"simpleeval>=1.0.3",
"ucumvert>=0.2",
]
[dependency-groups]
dev = [
"deepdiff>=6.0",
"deptry>=0.23",
"jupyter>=1.1",
"mkdocs-mermaid2-plugin>=0.6",
"mkdocs-windmill",
"mkdocstrings[crystal,python]",
"mknotebooks>=0.8",
"pre-commit>=4.3.0",
"pytest>=8",
"ruff>=0.11",
"tox>=4",
]
[project.scripts]
linkml-map = "linkml_map.cli.cli:main"
[tool.deptry]
known_first_party = ["linkml_map"]
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://github.com/codespell-project/codespell#using-a-config-file
[tool.codespell]
skip = '.git,*.pdf,*.svg,go.sum,*.lock'
check-hidden = true
ignore-regex = '(^\s*"image/\S+": ".*|\b(KEGG.BRITE|mor.nlm.nih.gov)\b)'
ignore-words-list = 'infarction,amination,assertIn,brite,ehr,mor,brite,nin,mirgate,NotIn'
[tool.ruff]
line-length = 120
target-version = "py310"
extend-exclude = [
"docs/",
"src/linkml_map/datamodel",
"tests/input",
]
force-exclude = true
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # Pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = [
# E203: whitespace before ',', ';', or ':'
"E203",
]
[tool.ruff.lint.isort]
known-first-party = ["linkml_map"]