Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (78 loc) · 2.42 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (78 loc) · 2.42 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
[build-system]
requires = ["hatchling==1.32.4"]
build-backend = "hatchling.build"
[project]
name = "typedstandards"
dynamic = ["version"]
description = "Sign, withdraw, attest to, build views of and verify Typed Standards records from Python, through @typedstandards/cli as a child process."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.11"
authors = [{ name = "Nathan Storey" }]
keywords = ["typed-standards", "provenance", "signing", "verification", "notebook"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.14",
]
# Declared now for P2's helpers (pin, sidecar); nothing in P1 imports either.
dependencies = [
"httpx>=0.28",
"PyYAML>=6.0",
]
[project.urls]
Homepage = "https://github.com/npstorey/typedstandards-python"
Issues = "https://github.com/npstorey/typedstandards-python/issues"
[dependency-groups]
# marimo and nbformat are development-only: the helpers' tests drive the real implementations
# (mo.md, mo.Html, nbformat's schema and writer). The package never imports either at module load.
dev = [
"marimo>=0.25.1",
"nbformat>=5.11.1",
"pytest>=8.4",
"ruff>=0.14",
]
[tool.hatch.version]
path = "src/typedstandards/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/src/typedstandards",
"/tests",
"/scripts",
"/hatch_build.py",
"/package.json",
"/package-lock.json",
"/README.md",
"/CHANGELOG.md",
"/LICENSE",
]
exclude = ["/src/typedstandards/_vendor"]
[tool.hatch.build.targets.wheel]
packages = ["src/typedstandards"]
# The vendored CLI is git-ignored, so it is named here to be shipped.
artifacts = ["src/typedstandards/_vendor/**"]
[tool.hatch.build.hooks.custom]
path = "hatch_build.py"
[tool.uv]
# Rebuild the editable install (and so re-run the vendoring hook) when any of these change.
cache-keys = [
{ file = "pyproject.toml" },
{ file = "package.json" },
{ file = "package-lock.json" },
{ file = "hatch_build.py" },
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["-ra", "--strict-markers"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]