From af3b0a16d13a205af66c1e3f86ca0f2f6f48b8ee Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 15 Feb 2026 05:50:06 +0000 Subject: [PATCH 1/2] Update from copier (2026-02-15T05:50:06) Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .copier-answers.yaml | 2 +- pyproject.toml | 48 ++++++++++++++++++++++++++++++++++++++------ 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 34f543b..77ffd4d 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: b74d698 +_commit: 37f89c1 _src_path: https://github.com/python-project-templates/base.git add_docs: false add_extension: python diff --git a/pyproject.toml b/pyproject.toml index d6f400f..45f218b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,14 @@ [build-system] -requires = ["hatchling"] +requires = [ + "hatchling", +] build-backend="hatchling.build" [project] name = "verilator" -authors = [{name = "the verilator-python authors", email = "dev@dau.dev"}] +authors = [ + {name = "the verilator-python authors", email = "dev@dau.dev"}, +] description = "Python wrapping/binding for verilator" readme = "README.md" license = { text = "Apache-2.0" } @@ -43,6 +47,7 @@ develop = [ "pytest-cov", "ruff>=0.9,<0.15", "twine", + "ty", "uv", "wheel", ] @@ -125,6 +130,7 @@ src = "/" [tool.hatch.build.targets.sdist] packages = [ "verilator", +<<<<<<< before updating "hatch_plugin.py", "src", ] @@ -153,22 +159,52 @@ exclude = [ "/.gitignore", "/pyproject.toml", ] +======= +] + +[tool.hatch.build.targets.wheel] +packages = [ + "verilator", +] + +[tool.hatch.build.targets.wheel.shared-data] +>>>>>>> after updating [tool.pytest.ini_options] -addopts = ["-vvv", "--junitxml=junit.xml"] +addopts = [ + "-vvv", + "--junitxml=junit.xml", +] testpaths = "verilator/tests" [tool.ruff] line-length = 150 [tool.ruff.lint] -extend-select = ["I"] +extend-select = [ + "I", +] [tool.ruff.lint.isort] combine-as-imports = true default-section = "third-party" -known-first-party = ["verilator"] -section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"] +known-first-party = [ + "verilator", +] +section-order = [ + "future", + "standard-library", + "third-party", + "first-party", + "local-folder", +] [tool.ruff.lint.per-file-ignores] +<<<<<<< before updating "__init__.py" = ["F401", "F403"] +======= +"__init__.py" = [ + "F401", + "F403", +] +>>>>>>> after updating From 5919dbf4c3d0ce3c153b17a2233b48367459c7d9 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sun, 15 Feb 2026 11:06:25 -0500 Subject: [PATCH 2/2] Update pyproject.toml --- pyproject.toml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 45f218b..84bee16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -130,7 +130,6 @@ src = "/" [tool.hatch.build.targets.sdist] packages = [ "verilator", -<<<<<<< before updating "hatch_plugin.py", "src", ] @@ -150,7 +149,9 @@ exclude = [ [tool.hatch.build.targets.wheel.hooks.custom] [tool.hatch.build.targets.wheel] -packages = ["verilator"] +packages = [ + "verilator", +] exclude = [ "/.github", "/scripts", @@ -159,16 +160,6 @@ exclude = [ "/.gitignore", "/pyproject.toml", ] -======= -] - -[tool.hatch.build.targets.wheel] -packages = [ - "verilator", -] - -[tool.hatch.build.targets.wheel.shared-data] ->>>>>>> after updating [tool.pytest.ini_options] addopts = [ @@ -200,11 +191,7 @@ section-order = [ ] [tool.ruff.lint.per-file-ignores] -<<<<<<< before updating -"__init__.py" = ["F401", "F403"] -======= "__init__.py" = [ "F401", "F403", ] ->>>>>>> after updating