-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (71 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
85 lines (71 loc) · 1.68 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
[project]
name = "docxcompose"
version = "2.1.1.dev0"
description = "Compose .docx documents"
authors = [{name="Thomas Buchberger", email="<t.buchberger@4teamwork.ch>"}]
license = "MIT license"
readme = "README.rst"
requires-python = ">=3.10,<4.0"
dependencies = [
"babel (>=2.10.0)",
"lxml",
"python-docx (>=1.0.0)",
]
[project.optional-dependencies]
dev = [
"pytest (>=9.0.2,<10.0.0)",
"pytest-aiohttp",
"ruff (>=0.15.0)",
"towncrier (>=25.8.0)",
"zest-releaser (>=9.6.2,<10.0.0)",
"zestreleaser-towncrier (>=1.3.0,<2.0.0)",
]
server = [
"aiohttp (>=3.13.0)",
]
[project.scripts]
docxcompose = "docxcompose.command:main"
docxcompose-server = "docxcompose.server:main"
[tool.poetry]
packages = [{include = "docxcompose"}]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
select = ["B", "E", "F", "I"]
ignore = ["B904", "B905"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["E501"]
[tool.ruff.lint.isort]
force-single-line = true
from-first = false
known-first-party = ["docxcompose"]
lines-after-imports = 2
order-by-type = false
[tool.pytest.ini_options]
python_files = ["test_*.py"]
testpaths = "tests"
asyncio_mode = "auto"
[tool.towncrier]
package = "docxcompose"
directory = "changes"
template = "towncrier.md"
filename = "CHANGELOG.md"
underlines = ["-", ""]
[[tool.towncrier.type]]
directory = "feature"
name = "New features:"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug fixes:"
showcontent = true
[[tool.towncrier.type]]
directory = "other"
name = "Other changes:"
showcontent = true
[tool.zest-releaser]
release = "false"
history-file = "CHANGELOG.md"