From 156da5a19762aa235499380c2c8e456841b2829d Mon Sep 17 00:00:00 2001 From: "python-templates-copier-update[bot]" Date: Sun, 11 Oct 2026 11:26:16 +0000 Subject: [PATCH] Update from Copier (2026-10-11T11-26-12Z) Signed-off-by: python-templates-copier-update[bot] --- .copier-answers.yaml | 2 +- .github/workflows/build.yaml | 2 +- Makefile | 10 +++++----- pyproject.toml | 3 ++- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 92969eb..a77536b 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: ebb6e1c +_commit: '4372075' _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: jupyter diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 06ccaf5..a1780fc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -15,7 +15,7 @@ on: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: diff --git a/Makefile b/Makefile index 83b5eec..bf93928 100644 --- a/Makefile +++ b/Makefile @@ -45,8 +45,8 @@ lint-js: ## run js linter cd js; pnpm lint lint-docs: ## lint docs with mdformat and codespell - python -m mdformat --check README.md docs/wiki/ - python -m codespell_lib README.md docs/wiki/ + python -m mdformat --check README.md $(wildcard docs/src) docs/wiki/ + python -m codespell_lib README.md $(wildcard docs/src) docs/wiki/ lint: lint-js lint-py lint-docs ## run project linters @@ -62,8 +62,8 @@ fix-js: ## fix js formatting cd js; pnpm fix fix-docs: ## autoformat docs with mdformat and codespell - python -m mdformat README.md docs/wiki/ - python -m codespell_lib --write README.md docs/wiki/ + python -m mdformat README.md $(wildcard docs/src) docs/wiki/ + python -m codespell_lib --write README.md $(wildcard docs/src) docs/wiki/ fix: fix-js fix-py fix-docs ## run project autoformatters @@ -81,7 +81,7 @@ check-dist: ## check python sdist and wheel with check-dist check-types: ## check python types with ty ty check --python $$(which python) -checks: check-dist +checks: check-dist check-types # alias check: checks diff --git a/pyproject.toml b/pyproject.toml index 605d3c4..6cdbfda 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,7 @@ develop = [ "hatchling", "jupyter-builder>=1.2.3,<2", "mdformat", + "mdformat-frontmatter", "mdformat-tables>=1", "jupyterlab>=4,<5", "pytest", @@ -92,7 +93,7 @@ replace = '"version": "{new_version}"' [tool.coverage.run] branch = true omit = [ - "python_template_jupyter/tests/integration/", + "python_template_jupyter/tests/integration/*", ] [tool.coverage.report]