Skip to content

Commit 92a4cd8

Browse files
Update from copier (2026-02-15T05:53:02)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ba00d79 commit 92a4cd8

File tree

2 files changed

+51
-12
lines changed

2 files changed

+51
-12
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: true
55
add_extension: js

pyproject.toml

Lines changed: 50 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
[build-system]
2-
requires = ["hatchling", "hatch-js"]
2+
requires = [
3+
"hatchling",
4+
"hatch-js",
5+
]
36
build-backend="hatchling.build"
47

58
[project]
69
name = "python-template-js"
7-
authors = [{name = "Python Project Template Authors", email = "3105306+timkpaine@users.noreply.github.com"}]
10+
authors = [
11+
{name = "Python Project Template Authors", email = "3105306+timkpaine@users.noreply.github.com"},
12+
]
813
description = "A JavaScript-Python project template"
914
readme = "README.md"
1015
license = { text = "Apache-2.0" }
@@ -41,6 +46,8 @@ develop = [
4146
"pytest-cov",
4247
"ruff>=0.9,<0.15",
4348
"twine",
49+
"ty",
50+
"uv",
4451
"wheel",
4552
]
4653

@@ -105,37 +112,69 @@ artifacts = [
105112
src = "/"
106113

107114
[tool.hatch.build.targets.sdist]
108-
packages = ["python_template_js", "js"]
115+
packages = [
116+
"python_template_js",
117+
"js",
118+
]
109119
exclude = [
110120
"/js/dist",
111121
"/js/node_modules",
112122
]
113123

114124
[tool.hatch.build.targets.wheel]
115-
packages = ["python_template_js"]
116-
exclude = ["/js"]
125+
packages = [
126+
"python_template_js",
127+
]
128+
exclude = [
129+
"/js",
130+
]
117131

118132
[tool.hatch.build.hooks.hatch-js]
119133
path = "js"
120134
build_cmd = "build"
121135
tool = "pnpm"
122-
targets = ["python_template_js/extension/cdn/index.js"]
136+
targets = [
137+
"python_template_js/extension/cdn/index.js",
138+
]
123139

124140
[tool.pytest.ini_options]
125-
addopts = ["-vvv", "--junitxml=junit.xml"]
141+
addopts = [
142+
"-vvv",
143+
"--junitxml=junit.xml",
144+
]
126145
testpaths = "python_template_js/tests"
127146

128147
[tool.ruff]
129148
line-length = 150
130149

131150
[tool.ruff.lint]
132-
extend-select = ["I"]
151+
extend-select = [
152+
"I",
153+
]
133154

134155
[tool.ruff.lint.isort]
135156
combine-as-imports = true
136157
default-section = "third-party"
137-
known-first-party = ["python_template_js"]
138-
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
158+
known-first-party = [
159+
"python_template_js",
160+
]
161+
section-order = [
162+
"future",
163+
"standard-library",
164+
"third-party",
165+
"first-party",
166+
"local-folder",
167+
]
139168

140169
[tool.ruff.lint.per-file-ignores]
141-
"__init__.py" = ["F401", "F403"]
170+
"__init__.py" = [
171+
"F401",
172+
"F403",
173+
]
174+
175+
[tool.yardang]
176+
title = "python template js"
177+
root = "README.md"
178+
pages = []
179+
use-autoapi = true
180+

0 commit comments

Comments
 (0)