From 879fcd3a6ba8418485e92a6f088e84555a677876 Mon Sep 17 00:00:00 2001 From: "python-templates-copier-update[bot]" Date: Sun, 11 Oct 2026 11:14:44 +0000 Subject: [PATCH 1/2] Update from Copier (2026-10-11T11-14-41Z) Signed-off-by: python-templates-copier-update[bot] --- .copier-answers.yaml | 2 +- Makefile | 12 +++++++++++- pyproject.toml | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 81e0ede..d08250b 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 5ff720b +_commit: '4372075' _src_path: https://github.com/python-project-templates/base.git add_docs: false add_extension: python diff --git a/Makefile b/Makefile index 8785e12..715b270 100644 --- a/Makefile +++ b/Makefile @@ -44,16 +44,26 @@ lint-py: ## lint python with ruff python -m ruff format --check systemc lint-docs: ## lint docs with mdformat and codespell +<<<<<<< before updating python -m mdformat --check README.md python -m codespell_lib README.md +======= + python -m mdformat --check README.md $(wildcard docs/src) + python -m codespell_lib README.md $(wildcard docs/src) +>>>>>>> after updating fix-py: ## autoformat python code with ruff python -m ruff check --fix systemc python -m ruff format systemc fix-docs: ## autoformat docs with mdformat and codespell +<<<<<<< before updating python -m mdformat README.md python -m codespell_lib --write README.md +======= + python -m mdformat README.md $(wildcard docs/src) + python -m codespell_lib --write README.md $(wildcard docs/src) +>>>>>>> after updating lint: lint-py lint-docs ## run all linters lints: lint @@ -71,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 5cd9b13..f0c6dac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,7 @@ develop = [ "codespell", "hatchling", "mdformat", + "mdformat-frontmatter", "mdformat-tables>=1", "pytest", "pytest-cov", @@ -99,7 +100,7 @@ skip = "*win32 *arm_64" [tool.coverage.run] branch = true omit = [ - "systemc/tests/integration/", + "systemc/tests/integration/*", ] [tool.coverage.report] From ce8aff50bad9d49089b9554ada66408062578c74 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sun, 11 Oct 2026 14:39:04 -0400 Subject: [PATCH 2/2] Resolve Copier conflicts and type checks Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com> --- Makefile | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index 715b270..a3a5673 100644 --- a/Makefile +++ b/Makefile @@ -44,26 +44,16 @@ lint-py: ## lint python with ruff python -m ruff format --check systemc lint-docs: ## lint docs with mdformat and codespell -<<<<<<< before updating - python -m mdformat --check README.md - python -m codespell_lib README.md -======= - python -m mdformat --check README.md $(wildcard docs/src) - python -m codespell_lib README.md $(wildcard docs/src) ->>>>>>> after updating + python -m mdformat --check README.md $(wildcard docs/src) + python -m codespell_lib README.md $(wildcard docs/src) fix-py: ## autoformat python code with ruff python -m ruff check --fix systemc python -m ruff format systemc fix-docs: ## autoformat docs with mdformat and codespell -<<<<<<< before updating - python -m mdformat README.md - python -m codespell_lib --write README.md -======= - python -m mdformat README.md $(wildcard docs/src) - python -m codespell_lib --write README.md $(wildcard docs/src) ->>>>>>> after updating + python -m mdformat README.md $(wildcard docs/src) + python -m codespell_lib --write README.md $(wildcard docs/src) lint: lint-py lint-docs ## run all linters lints: lint @@ -79,7 +69,7 @@ check-dist: ## check python sdist and wheel with check-dist check-dist -v check-types: ## check python types with ty - ty check --python $$(which python) + python -m ty check checks: check-dist check-types