Skip to content

Commit ab74f75

Browse files
Update from copier (2026-03-02T14:42:12)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 9bc776d commit ab74f75

5 files changed

Lines changed: 21 additions & 22 deletions

File tree

.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

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: make coverage
5656

5757
- name: Upload test results (Python)
58-
uses: actions/upload-artifact@v6
58+
uses: actions/upload-artifact@v7
5959
with:
6060
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
6161
path: junit.xml
@@ -74,7 +74,7 @@ jobs:
7474
- name: Make dist
7575
run: make dist
7676

77-
- uses: actions/upload-artifact@v6
77+
- uses: actions/upload-artifact@v7
7878
with:
7979
name: dist-${{matrix.os}}
8080
path: dist

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

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

@@ -157,3 +155,7 @@ hatch_cmake/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-cmake"
@@ -44,14 +44,14 @@ dependencies = [
4444
develop = [
4545
"build",
4646
"bump-my-version",
47-
"check-manifest",
48-
"codespell>=2.4,<2.5",
47+
"check-dist",
48+
"codespell",
4949
"hatchling",
50-
"mdformat>=0.7.22,<1.1",
50+
"mdformat",
5151
"mdformat-tables>=1",
5252
"pytest",
5353
"pytest-cov",
54-
"ruff>=0.9,<0.15",
54+
"ruff",
5555
"twine",
5656
"ty",
5757
"uv",
@@ -80,18 +80,12 @@ filename = "pyproject.toml"
8080
search = 'version = "{current_version}"'
8181
replace = 'version = "{new_version}"'
8282

83-
[tool.check-manifest]
84-
ignore = [
85-
".copier-answers.yaml",
86-
"Makefile",
87-
"docs/**/*",
88-
]
89-
9083
[tool.coverage.run]
9184
branch = true
9285
omit = [
9386
"hatch_cmake/tests/integration/",
9487
]
88+
9589
[tool.coverage.report]
9690
exclude_also = [
9791
"raise NotImplementedError",

0 commit comments

Comments
 (0)