Skip to content

Commit cae25e4

Browse files
Update from Copier (2026-10-11T11-26-06Z)
Signed-off-by: python-templates-copier-update[bot] <python-templates-copier-update[bot]@users.noreply.github.com>
1 parent e820870 commit cae25e4

5 files changed

Lines changed: 24 additions & 20 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: ebb6e1c
2+
_commit: '4372075'
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: rust

‎.github/workflows/build.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
workflow_dispatch:
1616

1717
concurrency:
18-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
18+
group: ${{ github.workflow }}-${{ github.ref }}
1919
cancel-in-progress: true
2020

2121
permissions:

‎Cargo.lock‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Makefile‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ lint-rs: ## run rust linter
4444
make -C rust lint
4545

4646
lint-docs: ## lint docs with mdformat and codespell
47-
python -m mdformat --check README.md docs/wiki/
48-
python -m codespell_lib README.md docs/wiki/
47+
python -m mdformat --check README.md $(wildcard docs/src) docs/wiki/
48+
python -m codespell_lib README.md $(wildcard docs/src) docs/wiki/
4949

5050
lint: lint-rs lint-py lint-docs ## run project linters
5151

@@ -61,8 +61,8 @@ fix-rs: ## fix rust formatting
6161
make -C rust fix
6262

6363
fix-docs: ## autoformat docs with mdformat and codespell
64-
python -m mdformat README.md docs/wiki/
65-
python -m codespell_lib --write README.md docs/wiki/
64+
python -m mdformat README.md $(wildcard docs/src) docs/wiki/
65+
python -m codespell_lib --write README.md $(wildcard docs/src) docs/wiki/
6666

6767
fix: fix-rs fix-py fix-docs ## run project autoformatters
6868

@@ -80,7 +80,7 @@ check-dist: ## check python sdist and wheel with check-dist
8080
check-types: ## check python types with ty
8181
ty check --python $$(which python)
8282

83-
checks: check-dist
83+
checks: check-dist check-types
8484

8585
# alias
8686
check: checks

‎pyproject.toml‎

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ develop = [
4242
"hatch-rs>=0.3.0",
4343
"hatchling",
4444
"mdformat",
45+
"mdformat-frontmatter",
4546
"mdformat-tables>=1",
4647
"pytest",
4748
"pytest-cov",
@@ -65,7 +66,8 @@ tag = true
6566
commit_args = "-s"
6667
pre_commit_hooks = [
6768
"cargo update --workspace",
68-
"git add Cargo.lock",
69+
"cargo update --manifest-path rust/Cargo.toml --workspace",
70+
"git add Cargo.lock rust/Cargo.lock",
6971
]
7072

7173
[[tool.bumpversion.files]]
@@ -121,7 +123,7 @@ xbuild-tools = ["cargo", "rustc", "rustup"]
121123
[tool.coverage.run]
122124
branch = true
123125
omit = [
124-
"python_template_rust/tests/integration/",
126+
"python_template_rust/tests/integration/*",
125127
]
126128

127129
[tool.coverage.report]
@@ -133,13 +135,6 @@ exclude_also = [
133135
ignore_errors = true
134136
fail_under = 50
135137

136-
[tool.hatch.build]
137-
artifacts = [
138-
"python_template_rust/*.dll",
139-
"python_template_rust/*.dylib",
140-
"python_template_rust/*.so",
141-
]
142-
143138
[tool.hatch.build.sources]
144139
src = "/"
145140

@@ -157,11 +152,20 @@ packages = [
157152
"Cargo.lock",
158153
]
159154
exclude = [
155+
"*.dll",
156+
"*.dylib",
157+
"*.so",
158+
"*.pyd",
160159
"rust/Makefile",
161160
"target",
162161
]
163162

164163
[tool.hatch.build.targets.wheel]
164+
artifacts = [
165+
"python_template_rust/*.dll",
166+
"python_template_rust/*.dylib",
167+
"python_template_rust/*.so",
168+
]
165169
packages = [
166170
"python_template_rust",
167171
]

0 commit comments

Comments
 (0)