-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (73 loc) · 1.72 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (73 loc) · 1.72 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
[project]
name = "celine-nudging"
version = "1.6.1"
description = "CELINE Nudging tool"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiosqlite>=0.22.1",
"alembic>=1.18.4",
"asgi-lifespan>=2.1.0",
"asyncpg[binary]>=0.31.0",
"celine-sdk>=1.12.1",
"fastapi>=0.129.0",
"httpx>=0.28.1",
"jinja2>=3.1.6",
"psycopg2-binary>=2.9.12",
"pydantic>=2.12.5",
"pydantic-settings>=2.13.0",
"python-dotenv>=1.2.2",
"pywebpush>=2.3.0",
"pyyaml>=6.0.3",
"sqlalchemy>=2.0.49",
"typer>=0.23.1",
"uvicorn[standard]>=0.41.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
only-include = ["src/celine/nudging"]
sources = {"src" = ""}
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
no_implicit_optional = true
check_untyped_defs = true
[tool.uv]
[dependency-groups]
dev = [
"python-semantic-release>=10.5.3",
"ruff>=0.15.11",
"mypy>=1.20.1",
"pytest>=9.0.3",
"pytest-asyncio>=0.23.0",
"httpx>=0.28.1",
"debugpy>=1.8.19",
]
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
build_command = """
uv lock --upgrade-package "$PACKAGE_NAME"
git add uv.lock
uv build
"""
branch = "main"
changelog_file = "CHANGELOG.md"
tag_format = "v{version}"
commit_parser = "conventional"
upload_to_release = false
upload_to_pypi = false
commit_version_number = false
[tool.semantic_release.commit_parser_options]
minor_tags = ["feat"]
patch_tags = ["fix", "perf", "up"]
parse_squash_commits = true
ignore_merge_commits = true
[project.scripts]
nudging-cli = "celine.nudging.cli.main:create_app"