-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (81 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
94 lines (81 loc) · 2.11 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
[project]
name = "htmpl"
version = "0.4.3"
description = "Type-safe HTML templating with Python 3.14 t-strings"
readme = "README.md"
license = "MIT"
requires-python = ">=3.14"
authors = [{ name = "Robert Myers", email = "robert@julython.org" }]
keywords = ["html", "templating", "t-strings", "fastapi", "htmx", "pico"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Text Processing :: Markup :: HTML",
"Typing :: Typed",
]
dependencies = ["tdom", "click", "copier"]
[project.optional-dependencies]
all = ["fastapi>=0.115", "pydantic>=2.0"]
dev = [
"fastapi>=0.115",
"pydantic>=2.0",
"pydantic[email]>=2.0",
"uvicorn>=0.32",
"httpx>=0.28",
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-cov",
"ruff>=0.8",
"mypy>=1.13",
]
[project.urls]
Homepage = "https://github.com/rmyers/htmpl"
Documentation = "https://github.com/rmyers/htmpl#readme"
Repository = "https://github.com/rmyers/htmpl"
[project.scripts]
htmpl = "htmpl.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/htmpl"]
[tool.ruff]
target-version = "py314"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "TCH"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.14"
strict = true
warn_return_any = true
warn_unused_ignores = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = [
# "--test-alembic",
"--log-cli-level=warning",
# "--junitxml=junit/test-results.xml",
"--cov=htmpl",
"--cov-branch",
"--cov-report=term-missing:skip-covered",
"--cov-report=html",
"--strict-markers",
"--strict-config",
"--verbose",
]
[tool.conda-lock]
channels = ["conda-forge", "defaults"]
platforms = ["linux-64", "linux-aarch64", "osx-arm64"]
[tool.conda-lock.dependencies]
pip = "*"
tdom = { source = "pypi" }
python = "3.14"
hatchling = "*"
conda-lock = "*"
[tool.conda-lock.pip-dependencies]
htmpl = { path = "src", editable = true }