-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (46 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
57 lines (46 loc) · 1.39 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "arca-models"
dynamic = ["version"]
description = "ETH Library Data Archive Models - Python Pydantic classes"
readme = "README.md"
requires-python = ">=3.12"
dependencies = ["pydantic>=2.13.4"]
[project.urls]
Repository = "https://github.com/eth-library/arca-models"
[tool.hatch.build.targets.wheel]
packages = ["src/arca_models"]
[tool.hatch.build.targets.sdist]
include = ["src/arca_models"]
[tool.hatch.version]
source = "vcs"
fallback-version = "0.1.0"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.uv]
dev-dependencies = [
"datamodel-code-generator[http]>=0.25.0",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"jsonschema>=4.0.0"
]
# Index configuration for UV
# This configuration ensures that downstream consumers can resolve to the newest release on TestPyPI
# without needing explicit version pins.
# Index configuration for UV
# PyPI first for reliable dependency resolution, TestPyPI for publishing
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple/"
explicit = false
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
# Setting explicit to false allows UV to automatically use this index
explicit = false
[tool.coverage.run]
source = ["src"]
omit = ["tests/*", "src/test/*"]