Skip to content

Commit cadaf26

Browse files
authored
Merge pull request #85 from python-project-templates/copier-update-2026-02-15T05-53-50
Update from copier (2026-02-15T05:53:50)
2 parents 1f498bf + e711561 commit cadaf26

File tree

2 files changed

+36
-11
lines changed

2 files changed

+36
-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: 37f89c1
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: false
55
add_extension: python

pyproject.toml

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
2+
requires = [
3+
"hatchling",
4+
]
5+
build-backend="hatchling.build"
46

57
[project]
68
name = "hatch-cpp"
7-
authors = [{name = "the hatch-cpp authors", email = "t.paine154@gmail.com"}]
9+
authors = [
10+
{name = "the hatch-cpp authors", email = "t.paine154@gmail.com"},
11+
]
812
description = "Hatch plugin for C++ builds"
913
readme = "README.md"
1014
license = { text = "Apache-2.0" }
@@ -54,6 +58,7 @@ develop = [
5458
"pytest-cov",
5559
"ruff>=0.9,<0.15",
5660
"twine",
61+
"ty",
5762
"uv",
5863
"wheel",
5964
# test
@@ -118,26 +123,46 @@ artifacts = []
118123
src = "/"
119124

120125
[tool.hatch.build.targets.sdist]
121-
packages = ["hatch_cpp"]
126+
packages = [
127+
"hatch_cpp",
128+
]
122129

123130
[tool.hatch.build.targets.wheel]
124-
packages = ["hatch_cpp"]
131+
packages = [
132+
"hatch_cpp",
133+
]
125134

126135
[tool.pytest.ini_options]
127-
addopts = ["-vvv", "--junitxml=junit.xml"]
136+
addopts = [
137+
"-vvv",
138+
"--junitxml=junit.xml",
139+
]
128140
testpaths = "hatch_cpp/tests"
129141

130142
[tool.ruff]
131143
line-length = 150
132144

133145
[tool.ruff.lint]
134-
extend-select = ["I"]
146+
extend-select = [
147+
"I",
148+
]
135149

136150
[tool.ruff.lint.isort]
137151
combine-as-imports = true
138152
default-section = "third-party"
139-
known-first-party = ["hatch_cpp"]
140-
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
153+
known-first-party = [
154+
"hatch_cpp",
155+
]
156+
section-order = [
157+
"future",
158+
"standard-library",
159+
"third-party",
160+
"first-party",
161+
"local-folder",
162+
]
141163

142164
[tool.ruff.lint.per-file-ignores]
143-
"__init__.py" = ["F401", "F403"]
165+
"__init__.py" = [
166+
"F401",
167+
"F403",
168+
]

0 commit comments

Comments
 (0)