-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
163 lines (149 loc) · 3.32 KB
/
pyproject.toml
File metadata and controls
163 lines (149 loc) · 3.32 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# SPDX-FileCopyrightText: 2026 Andrew Zhang <whisper67265@outlook.com>
#
# SPDX-License-Identifier: BSL-1.0
[build-system]
build-backend = "uv_build"
requires = ["uv_build>=0.8.18,<0.12.0"]
[dependency-groups]
dev = [
"coverage[toml]==7.14.0",
"pytest-cov==7.1.0"
]
lint = [
{include-group = "pre-commit"}
]
plugin = [
"pytest==9.0.3",
"pytest-rerunfailures==16.3",
"pytest-timeout==2.4.0"
]
pre-commit = [
"prek==0.3.13",
"pytest==9.0.3"
]
tooling = [
{include-group = "lint"}
]
[project]
authors = [
{name = "Andrew Zhang", email = "whisper67265@outlook.com"},
{name = "William Jin", email = "AuraMindNest@outlook.com"}
]
classifiers = [
"Environment :: Web Environment",
"License :: OSI Approved :: Boost Software License 1.0 (BSL-1.0)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Localization"
]
dependencies = [
"Weblate[all]==2026.5"
]
description = "Standalone Weblate plugin for Boost documentation translation."
keywords = [
"boost",
"gettext",
"i18n",
"l10n",
"quickbook",
"translation",
"weblate"
]
license = "BSL-1.0"
license-files = ["LICENSE"]
name = "cppa-weblate-plugin"
readme = "README.md"
requires-python = ">=3.12"
version = "1.0.0"
[project.optional-dependencies]
dev = [
"coverage[toml]==7.14.0",
"prek==0.3.13",
"pytest-cov==7.1.0",
"pytest==9.0.3"
]
[project.urls]
Homepage = "https://github.com/cppalliance/cppa-weblate-plugin"
Issues = "https://github.com/cppalliance/cppa-weblate-plugin/issues"
Repository = "https://github.com/cppalliance/cppa-weblate-plugin"
[tool.check-manifest]
ignore = [
"*.yaml",
"*.yml",
".editorconfig"
]
[tool.coverage]
[tool.coverage.report]
fail_under = 90
omit = [
"*/migrations/*",
"*/tests/*",
"*/__pycache__/*"
]
show_missing = true
[tool.coverage.run]
omit = []
source = ["boost_weblate"]
# liccheck: regex on PyPI license classifiers (as_regex).
[tool.liccheck]
as_regex = true
authorized_licenses = [
"mit",
"apache",
"bsd",
"isc",
"bsl",
"boost",
"business source",
"python software foundation",
"psf",
"gnu general public",
"\\bgpl\\b",
"affero",
"lesser gnu",
"lgpl",
"european union public",
"\\beupl\\b",
"agpl",
"mozilla",
"unlicense",
"ofl",
"zpl"
]
# google-crc32c: PyPI has no License/classifiers (liccheck UNKNOWN); upstream is Apache-2.0.
authorized_packages = {pyaskalono = ">=0.2.0", "google-crc32c" = ">=1.8.0"}
level = "cautious"
unauthorized_licenses = []
[tool.pytest.ini_options]
addopts = ["-m", "not plugin"]
markers = [
"plugin: requires live Weblate stack (Docker Compose) and optional WEBLATE_API_TOKEN",
"slow: long-running plugin integration test"
]
python_classes = ["Test*"]
python_files = ["test_*.py", "*_test.py"]
pythonpath = ["src", "."]
testpaths = ["tests"]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.uv.build-backend]
module-name = "boost_weblate"
module-root = "src"
source-include = [
".env.example",
"docker/**",
"docs/**",
"LICENSES/**",
"REUSE.toml",
"scripts/**",
"uv.lock",
"tests/**"
]