Skip to content

Commit 6cf77c7

Browse files
authored
Merge pull request #41 from python-project-templates/copier-update-2026-03-02T19-39-06
Update from copier (2026-03-02T19:39:06)
2 parents 4110152 + 8a6eecc commit 6cf77c7

File tree

4 files changed

+19
-20
lines changed

4 files changed

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

.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-
hatch_rs/extension
145144

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

@@ -157,3 +155,7 @@ hatch_rs/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
@@ -46,12 +46,15 @@ format: fix
4646
################
4747
# Other Checks #
4848
################
49-
.PHONY: check-manifest checks check
49+
.PHONY: check-dist check-types checks check
5050

51-
check-manifest: ## check python sdist manifest with check-manifest
52-
check-manifest -v
51+
check-dist: ## check python sdist and wheel with check-dist
52+
check-dist -v
5353

54-
checks: check-manifest
54+
check-types: ## check python types with ty
55+
ty check --python $$(which python)
56+
57+
checks: check-dist
5558

5659
# Alias
5760
check: checks

pyproject.toml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires = [
33
"hatchling",
44
]
5-
build-backend="hatchling.build"
5+
build-backend = "hatchling.build"
66

77
[project]
88
name = "hatch-rs"
@@ -43,14 +43,14 @@ dependencies = [
4343
develop = [
4444
"build",
4545
"bump-my-version",
46-
"check-manifest",
47-
"codespell>=2.4,<2.5",
46+
"check-dist",
47+
"codespell",
4848
"hatchling",
49-
"mdformat>=0.7.22,<1.1",
49+
"mdformat",
5050
"mdformat-tables>=1",
5151
"pytest",
5252
"pytest-cov",
53-
"ruff>=0.9,<0.15",
53+
"ruff",
5454
"twine",
5555
"ty",
5656
"uv",
@@ -83,18 +83,12 @@ filename = "pyproject.toml"
8383
search = 'version = "{current_version}"'
8484
replace = 'version = "{new_version}"'
8585

86-
[tool.check-manifest]
87-
ignore = [
88-
".copier-answers.yaml",
89-
"Makefile",
90-
"docs/**/*",
91-
]
92-
9386
[tool.coverage.run]
9487
branch = false
9588
omit = [
9689
"hatch_rs/tests/integration/",
9790
]
91+
9892
[tool.coverage.report]
9993
exclude_also = [
10094
"raise NotImplementedError",

0 commit comments

Comments
 (0)