Skip to content

Commit dda7a0c

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

5 files changed

Lines changed: 10 additions & 8 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: cython

‎.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
@@ -18,16 +18,16 @@ lint-py: ## lint Python with ruff
1818
python -m ruff format --check python_template_cython
1919

2020
lint-docs: ## lint documentation
21-
python -m mdformat --check README.md docs/development.md
22-
python -m codespell_lib README.md docs/development.md
21+
python -m mdformat --check README.md docs/development.md $(wildcard docs/src)
22+
python -m codespell_lib README.md docs/development.md $(wildcard docs/src)
2323

2424
fix-py: ## autoformat Python code
2525
python -m ruff check --fix python_template_cython
2626
python -m ruff format python_template_cython
2727

2828
fix-docs: ## autoformat documentation
29-
python -m mdformat README.md docs/development.md
30-
python -m codespell_lib --write README.md docs/development.md
29+
python -m mdformat README.md docs/development.md $(wildcard docs/src)
30+
python -m codespell_lib --write README.md docs/development.md $(wildcard docs/src)
3131

3232
lint: lint-py lint-docs ## run all linters
3333
lints: lint
@@ -40,7 +40,7 @@ check-dist: ## check python sdist and wheel with check-dist
4040
check-types: ## check Python types (advisory)
4141
ty check python_template_cython
4242

43-
checks: check-dist ## run distribution checks
43+
checks: check-dist check-types ## run distribution checks
4444
check: checks
4545

4646
test: ## run Python tests

‎pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ develop = [
4343
"hatch-cython",
4444
"hatchling",
4545
"mdformat",
46+
"mdformat-frontmatter",
4647
"mdformat-tables>=1",
4748
"pytest",
4849
"pytest-cov",
@@ -79,7 +80,7 @@ replace = 'version = "{new_version}"'
7980
[tool.coverage.run]
8081
branch = true
8182
omit = [
82-
"python_template_cython/tests/integration/",
83+
"python_template_cython/tests/integration/*",
8384
"python_template_cython/_compiled.py",
8485
]
8586

‎python_template_cython/_native.pyi‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
def add(left: int, right: int) -> int: ...

0 commit comments

Comments
 (0)