Skip to content

Commit 99e6c57

Browse files
Update from copier (2026-02-13T17:17:37)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent bd2d08a commit 99e6c57

File tree

2 files changed

+44
-11
lines changed

2 files changed

+44
-11
lines changed

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: b74d698
2+
_commit: 5f83201
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: cpp

pyproject.toml

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ build-backend="hatchling.build"
88

99
[project]
1010
name = "python-template-cpp"
11-
authors = [{name = "Python Project Template Authors", email = "3105306+timkpaine@users.noreply.github.com"}]
11+
authors = [
12+
{name = "Python Project Template Authors", email = "3105306+timkpaine@users.noreply.github.com"},
13+
]
1214
description = "A C++-Python project template"
1315
readme = "README.md"
1416
license = { text = "Apache-2.0" }
@@ -46,6 +48,8 @@ develop = [
4648
"pytest-cov",
4749
"ruff>=0.9,<0.15",
4850
"twine",
51+
"ty",
52+
"uv",
4953
"wheel",
5054
]
5155

@@ -85,7 +89,7 @@ ignore = [
8589
[tool.cibuildwheel]
8690
build = "cp310-* cp311-* cp312-* cp313-*"
8791
test-command = "echo 'TODO'"
88-
test-requires = []
92+
test-extras = "develop"
8993

9094
[tool.cibuildwheel.linux]
9195
skip = "*i686 musllinux*"
@@ -125,30 +129,59 @@ src = "/"
125129
[tool.hatch.build.hooks.hatch-cpp]
126130
verbose = true
127131
libraries = [
128-
{name = "python_template_cpp/extension", sources = ["cpp/python-template-cpp/extension.cpp"], include-dirs = ["cpp"], binding="pybind11"}
132+
{name = "python_template_cpp/extension", sources = ["cpp/python-template-cpp/extension.cpp"], include-dirs = ["cpp"], binding="pybind11"}
129133
]
130134

131135
[tool.hatch.build.targets.sdist]
132-
packages = ["python_template_cpp", "cpp"]
136+
packages = [
137+
"python_template_cpp",
138+
"cpp",
139+
]
133140

134141
[tool.hatch.build.targets.wheel]
135-
packages = ["python_template_cpp"]
142+
packages = [
143+
"python_template_cpp",
144+
]
136145

137146
[tool.pytest.ini_options]
138-
addopts = ["-vvv", "--junitxml=junit.xml"]
147+
addopts = [
148+
"-vvv",
149+
"--junitxml=junit.xml",
150+
]
139151
testpaths = "python_template_cpp/tests"
140152

141153
[tool.ruff]
142154
line-length = 150
143155

144156
[tool.ruff.lint]
145-
extend-select = ["I"]
157+
extend-select = [
158+
"I",
159+
]
146160

147161
[tool.ruff.lint.isort]
148162
combine-as-imports = true
149163
default-section = "third-party"
150-
known-first-party = ["python_template_cpp"]
151-
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
164+
known-first-party = [
165+
"python_template_cpp",
166+
]
167+
section-order = [
168+
"future",
169+
"standard-library",
170+
"third-party",
171+
"first-party",
172+
"local-folder",
173+
]
152174

153175
[tool.ruff.lint.per-file-ignores]
154-
"__init__.py" = ["F401", "F403"]
176+
"__init__.py" = [
177+
"F401",
178+
"F403",
179+
]
180+
181+
[tool.yardang]
182+
title = "python template cpp"
183+
root = "README.md"
184+
pages = []
185+
use-autoapi = true
186+
187+

0 commit comments

Comments
 (0)