Skip to content

Commit e1e994f

Browse files
Update from Copier (2026-10-11T11-27-15Z)
Signed-off-by: python-templates-copier-update[bot] <python-templates-copier-update[bot]@users.noreply.github.com>
1 parent 7a054c4 commit e1e994f

5 files changed

Lines changed: 17 additions & 11 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: cppjswasm

‎.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:

‎Makefile‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ lint-cpp: ## run C++ linter
5858
make -C cpp lint
5959

6060
lint-docs: ## lint docs with mdformat and codespell
61-
python -m mdformat --check README.md docs/wiki/
62-
python -m codespell_lib README.md docs/wiki/
61+
python -m mdformat --check README.md $(wildcard docs/src) docs/wiki/
62+
python -m codespell_lib README.md $(wildcard docs/src) docs/wiki/
6363

6464
lint: lint-cpp lint-js lint-py lint-docs ## run project linters
6565

@@ -78,8 +78,8 @@ fix-cpp: ## fix C++ formatting
7878
make -C cpp fix
7979

8080
fix-docs: ## autoformat docs with mdformat and codespell
81-
python -m mdformat README.md docs/wiki/
82-
python -m codespell_lib --write README.md docs/wiki/
81+
python -m mdformat README.md $(wildcard docs/src) docs/wiki/
82+
python -m codespell_lib --write README.md $(wildcard docs/src) docs/wiki/
8383

8484
fix: fix-cpp fix-js fix-py fix-docs ## run project autoformatters
8585

@@ -97,7 +97,7 @@ check-dist: ## check python sdist and wheel with check-dist
9797
check-types: ## check python types with ty
9898
ty check --python $$(which python)
9999

100-
checks: check-dist
100+
checks: check-dist check-types
101101

102102
# alias
103103
check: checks

‎pyproject.toml‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ develop = [
4646
"hatchling",
4747
"pybind11",
4848
"mdformat",
49+
"mdformat-frontmatter",
4950
"mdformat-tables>=1",
5051
"pytest",
5152
"pytest-cov",
@@ -113,7 +114,7 @@ test-requires = ["pytest"]
113114
[tool.coverage.run]
114115
branch = true
115116
omit = [
116-
"python_template_cppjswasm/tests/integration/",
117+
"python_template_cppjswasm/tests/integration/*",
117118
]
118119

119120
[tool.coverage.report]
@@ -127,9 +128,6 @@ fail_under = 50
127128

128129
[tool.hatch.build]
129130
artifacts = [
130-
"python_template_cppjswasm/*.dll",
131-
"python_template_cppjswasm/*.dylib",
132-
"python_template_cppjswasm/*.so",
133131
"python_template_cppjswasm/extension",
134132
]
135133

@@ -151,6 +149,7 @@ libraries = [
151149
]
152150

153151
[tool.hatch.build.targets.sdist]
152+
exclude = ["*.dll", "*.dylib", "*.so", "*.pyd"]
154153
packages = [
155154
"python_template_cppjswasm",
156155
"cpp",
@@ -159,6 +158,12 @@ packages = [
159158

160159

161160
[tool.hatch.build.targets.wheel]
161+
artifacts = [
162+
"python_template_cppjswasm/*.dll",
163+
"python_template_cppjswasm/*.dylib",
164+
"python_template_cppjswasm/*.so",
165+
"python_template_cppjswasm/extension",
166+
]
162167
packages = [
163168
"python_template_cppjswasm",
164169
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
def add(i: int, j: int) -> int: ...

0 commit comments

Comments
 (0)