Skip to content

Commit f99f61d

Browse files
authored
Merge pull request #86 from python-project-templates/copier-update-2026-02-22T05-49-16
Update from copier (2026-02-22T05:49:16)
2 parents cadaf26 + 3dd1fae commit f99f61d

File tree

4 files changed

+19
-21
lines changed

4 files changed

+19
-21
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: 08a244d
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: false
55
add_extension: python

.gitignore

Lines changed: 6 additions & 4 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_cpp/extension
145144

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

@@ -158,5 +156,9 @@ hatch_cpp/labextension
158156
# Rust
159157
target
160158

159+
# Hydra
160+
outputs/
161+
multirun/
162+
161163
vcpkg
162-
vcpkg_installed
164+
vcpkg_installed

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: 5 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-cpp"
@@ -48,15 +48,15 @@ dependencies = [
4848
develop = [
4949
"build",
5050
"bump-my-version",
51-
"check-manifest",
52-
"codespell>=2.4,<2.5",
51+
"check-dist",
52+
"codespell",
5353
"hatchling",
5454
"hatch-build>=0.3.2",
55-
"mdformat>=0.7.22,<1.1",
55+
"mdformat",
5656
"mdformat-tables>=1",
5757
"pytest",
5858
"pytest-cov",
59-
"ruff>=0.9,<0.15",
59+
"ruff",
6060
"twine",
6161
"ty",
6262
"uv",
@@ -95,13 +95,6 @@ filename = "pyproject.toml"
9595
search = 'version = "{current_version}"'
9696
replace = 'version = "{new_version}"'
9797

98-
[tool.check-manifest]
99-
ignore = [
100-
".copier-answers.yaml",
101-
"Makefile",
102-
"docs/**/*",
103-
]
104-
10598
[tool.coverage.run]
10699
branch = false
107100
omit = [

0 commit comments

Comments
 (0)