-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (69 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
79 lines (69 loc) · 1.98 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
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "trustrender"
version = "0.3.4"
description = "Validate and normalize Stripe, Shopify, and custom billing data for Factur-X/ZUGFeRD"
license = "MIT"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Accounting",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"drafthorse>=2024.0",
]
[project.urls]
Homepage = "https://trustrender.dev"
Documentation = "https://trustrender.dev"
Source = "https://github.com/verityengine/trustrender"
Issues = "https://github.com/verityengine/trustrender/issues"
Changelog = "https://github.com/verityengine/trustrender/releases"
[project.scripts]
trustrender = "trustrender.cli:main"
[project.optional-dependencies]
render = [
"typst>=0.14",
"jinja2>=3.1",
"pypdf>=4.0",
]
serve = [
"starlette>=0.40",
"uvicorn>=0.30",
]
zugferd = [
"factur-x>=3.0",
]
all = [
"trustrender[render,serve,zugferd]",
]
dev = [
"pytest>=8.0",
"ruff>=0.4",
"httpx>=0.27",
"factur-x>=3.0",
"trustrender[all]",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
trustrender = ["playground/**/*", "fonts/**/*", "builtin_templates/*"]
[tool.ruff]
line-length = 140
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.ruff.lint.per-file-ignores]
# Dashboard generates HTML/CSS as inline string literals — long lines are intentional
"src/trustrender/dashboard.py" = ["E501"]
# Tests: long fixture strings, side-effect render() calls, ad-hoc fixture vars
"tests/*" = ["E501", "F841"]