Skip to content

Commit 6911b9a

Browse files
authored
Merge pull request #48 from python-project-templates/copier-update-2026-02-15T03-05-41
Update from copier (2026-02-15T03:05:41)
2 parents bd2d08a + 500ee39 commit 6911b9a

File tree

2 files changed

+45
-11
lines changed

2 files changed

+45
-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: 4f23417
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: cpp

pyproject.toml

Lines changed: 44 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,9 +89,10 @@ 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]
95+
manylinux-x86_64-image = "manylinux_2_28"
9196
skip = "*i686 musllinux*"
9297

9398
[tool.cibuildwheel.macos]
@@ -125,30 +130,59 @@ src = "/"
125130
[tool.hatch.build.hooks.hatch-cpp]
126131
verbose = true
127132
libraries = [
128-
{name = "python_template_cpp/extension", sources = ["cpp/python-template-cpp/extension.cpp"], include-dirs = ["cpp"], binding="pybind11"}
133+
{name = "python_template_cpp/extension", sources = ["cpp/python-template-cpp/extension.cpp"], include-dirs = ["cpp"], binding="pybind11"}
129134
]
130135

131136
[tool.hatch.build.targets.sdist]
132-
packages = ["python_template_cpp", "cpp"]
137+
packages = [
138+
"python_template_cpp",
139+
"cpp",
140+
]
133141

134142
[tool.hatch.build.targets.wheel]
135-
packages = ["python_template_cpp"]
143+
packages = [
144+
"python_template_cpp",
145+
]
136146

137147
[tool.pytest.ini_options]
138-
addopts = ["-vvv", "--junitxml=junit.xml"]
148+
addopts = [
149+
"-vvv",
150+
"--junitxml=junit.xml",
151+
]
139152
testpaths = "python_template_cpp/tests"
140153

141154
[tool.ruff]
142155
line-length = 150
143156

144157
[tool.ruff.lint]
145-
extend-select = ["I"]
158+
extend-select = [
159+
"I",
160+
]
146161

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

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

0 commit comments

Comments
 (0)