Skip to content

Commit 9dc4808

Browse files
authored
Merge pull request #86 from python-project-templates/copier-update-2026-02-22T04-26-50
Update from copier (2026-02-22T04:26:51)
2 parents e1941d0 + e5e4053 commit 9dc4808

File tree

4 files changed

+20
-26
lines changed

4 files changed

+20
-26
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: b3bc450
2+
_commit: 08a244d
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: js

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,12 @@ js/node_modules
141141
js/test-results
142142
js/playwright-report
143143
js/*.tgz
144-
python_template_js/extension
145144

146145
# Jupyter
147146
.ipynb_checkpoints
148147
.autoversion
149148
Untitled*.ipynb
150-
!python_template_js/extension/python_template_js.json
151-
!python_template_js/extension/install.json
149+
python_template_js/extension
152150
python_template_js/nbextension
153151
python_template_js/labextension
154152

@@ -157,3 +155,7 @@ python_template_js/labextension
157155

158156
# Rust
159157
target
158+
159+
# Hydra
160+
outputs/
161+
multirun/

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,15 @@ format: fix
7373
################
7474
# Other Checks #
7575
################
76-
.PHONY: check-manifest checks check
76+
.PHONY: check-dist check-types checks check
7777

78-
check-manifest: ## check python sdist manifest with check-manifest
79-
check-manifest -v
78+
check-dist: ## check python sdist and wheel with check-dist
79+
check-dist -v
8080

81-
checks: check-manifest
81+
check-types: ## check python types with ty
82+
ty check --python $$(which python)
83+
84+
checks: check-dist
8285

8386
# alias
8487
check: checks

pyproject.toml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ dependencies = []
3636
develop = [
3737
"build",
3838
"bump-my-version",
39-
"check-manifest",
40-
"codespell>=2.4,<2.5",
39+
"check-dist",
40+
"codespell",
4141
"hatch-js",
4242
"hatchling",
43-
"mdformat>=0.7.22,<1.1",
43+
"mdformat",
4444
"mdformat-tables>=1",
4545
"pytest",
4646
"pytest-cov",
47-
"ruff>=0.9,<0.15",
47+
"ruff",
4848
"twine",
4949
"ty",
5050
"uv",
@@ -78,17 +78,6 @@ filename = "js/package.json"
7878
search = '"version": "{current_version}"'
7979
replace = '"version": "{new_version}"'
8080

81-
[tool.check-manifest]
82-
ignore = [
83-
".copier-answers.yaml",
84-
"js/pnpm-lock.yaml",
85-
"Makefile",
86-
".vscode/*",
87-
"python_template_js/extension/**/*",
88-
"docs/**/*",
89-
"js/dist/**/*",
90-
]
91-
9281
[tool.coverage.run]
9382
branch = true
9483
omit = [
@@ -117,16 +106,16 @@ packages = [
117106
"js",
118107
]
119108
exclude = [
120-
"/js/dist",
121-
"/js/node_modules",
109+
"js/dist",
110+
"js/node_modules",
122111
]
123112

124113
[tool.hatch.build.targets.wheel]
125114
packages = [
126115
"python_template_js",
127116
]
128117
exclude = [
129-
"/js",
118+
"js",
130119
]
131120

132121
[tool.hatch.build.hooks.hatch-js]

0 commit comments

Comments
 (0)