-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.44 KB
/
pyproject.toml
File metadata and controls
72 lines (63 loc) · 1.44 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
[project]
name = "ezxml"
version = "0.1.0"
description = "A Python library for generating XML from Python objects using dataclasses, with built-in support for UBL 2.1 documents."
keywords = ["xml", "ubl", "invoice", "dataclass", "lxml"]
authors = [{ name = "agonzalezl", email = "angel.gonzalez.lpz@gmail.com" }]
requires-python = ">=3.11,<4"
readme = "README.md"
license = { text = "MIT" }
repository = "https://github.com/agonzalezl/ez-xml"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"lxml>=6.1.0,<7",
"saxonche>=12.9.0,<13",
"pydantic>=2.0,<3",
]
[dependency-groups]
dev = [
"black",
"coverage",
"mypy",
"pre-commit",
"pytest",
"pytest-cov",
"ruff>=0.15.12,<0.16",
]
[tool.uv]
[tool.mypy]
python_version = "3.11"
[[tool.mypy.overrides]]
module = "lxml.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "lxml"
ignore_missing_imports = true
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["E501"]
[tool.uv.build-backend]
module-name = ["ez"]
module-root = ""
[build-system]
requires = ["uv_build>=0.11.7,<0.12.0"]
build-backend = "uv_build"