Skip to content

Commit d2e7a70

Browse files
authored
Merge pull request #37 from python-project-templates/copier-update-2026-02-15T05-53-11
Update from copier (2026-02-15T05:53:11)
2 parents 712e963 + bd13a13 commit d2e7a70

File tree

2 files changed

+35
-10
lines changed

2 files changed

+35
-10
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: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = [
3+
"hatchling",
4+
]
35
build-backend="hatchling.build"
46

57
[project]
68
name = "hatch-rs"
7-
authors = [{name = "the hatch-rs authors", email = "t.paine154@gmail.com"}]
9+
authors = [
10+
{name = "the hatch-rs authors", email = "t.paine154@gmail.com"},
11+
]
812
description = "Hatch plugin for Rust builds"
913
readme = "README.md"
1014
license = { text = "Apache-2.0" }
@@ -48,6 +52,7 @@ develop = [
4852
"pytest-cov",
4953
"ruff>=0.9,<0.15",
5054
"twine",
55+
"ty",
5156
"uv",
5257
"wheel",
5358
]
@@ -106,28 +111,48 @@ artifacts = []
106111
src = "/"
107112

108113
[tool.hatch.build.targets.sdist]
109-
packages = ["hatch_rs"]
114+
packages = [
115+
"hatch_rs",
116+
]
110117

111118
[tool.hatch.build.targets.wheel]
112-
packages = ["hatch_rs"]
119+
packages = [
120+
"hatch_rs",
121+
]
113122

114123
[tool.hatch.build.targets.wheel.shared-data]
115124

116125
[tool.pytest.ini_options]
117-
addopts = ["-vvv", "--junitxml=junit.xml"]
126+
addopts = [
127+
"-vvv",
128+
"--junitxml=junit.xml",
129+
]
118130
testpaths = "hatch_rs/tests"
119131

120132
[tool.ruff]
121133
line-length = 150
122134

123135
[tool.ruff.lint]
124-
extend-select = ["I"]
136+
extend-select = [
137+
"I",
138+
]
125139

126140
[tool.ruff.lint.isort]
127141
combine-as-imports = true
128142
default-section = "third-party"
129-
known-first-party = ["hatch_rs"]
130-
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
143+
known-first-party = [
144+
"hatch_rs",
145+
]
146+
section-order = [
147+
"future",
148+
"standard-library",
149+
"third-party",
150+
"first-party",
151+
"local-folder",
152+
]
131153

132154
[tool.ruff.lint.per-file-ignores]
133-
"__init__.py" = ["F401", "F403"]
155+
"__init__.py" = [
156+
"F401",
157+
"F403",
158+
]

0 commit comments

Comments
 (0)