-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (61 loc) · 1.73 KB
/
pyproject.toml
File metadata and controls
68 lines (61 loc) · 1.73 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
[project]
name = "oberon0-rt"
version = "1.0.0"
description = "Oberon-o runtime: a python runtime tool for executing WASM compiled code from Oberon-0 programs. Inspired by Jacques Supcik's oberon-0 runtime tool."
readme = "README.md"
authors=[{ name = "Jacques Supcik", email = "jacques.supcik@hefr.ch" },{name= "Sarah Gäumann", email="sarahgaeumann01@gmail.com"}]
requires-python = ">=3.12"
dependencies = [
"loguru>=0.7.3",
"reuse>=6.2.0",
"rich>=14.3.3",
"typer>=0.24.1",
"wasmtime>=42.0.0",
]
[dependency-groups]
dev = [
"black>=26.3.1",
"bump-my-version>=1.2.7",
"furo>=2025.12.19",
"mypy>=1.19.1",
"pre-commit>=4.5.1",
"pyright>=1.1.408",
"pytest>=9.0.2",
"reuse>=3.0.0",
"ruff>=0.15.6",
"sphinx>=9.1.0",
"sphinx-design>=0.7.0",
"sphinxcontrib-napoleon>=0.7",
"sphinxcontrib-typer>=0.8.1",
]
[build-system]
requires = ["uv_build>=0.10.1,<0.11.0"]
build-backend = "uv_build"
[tool.ruff.lint]
select = ["E", "F", "B", "I"]
[tool.pyright]
venvPath = "."
venv = ".venv"
[project.scripts]
oberon0-rt = 'oberon0_rt:app'
[tool.bumpversion]
current_version = "1.0.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
commit_args = ""
pre_commit_hooks = ["uv sync", "git add uv.lock"]
[[tool.bumpversion.files]]
filename = "docs/conf.py"
search = "release = \"{current_version}\""
replace = "release = \"{new_version}\""