From bf6ebb3f50b8ca56d4c80817f7dab12c62cc5946 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 15 Feb 2026 05:53:50 +0000 Subject: [PATCH 1/2] Update from copier (2026-02-15T05:53:50) Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .copier-answers.yaml | 2 +- pyproject.toml | 48 +++++++++++++++++++++++++++++++++++++------- 2 files changed, 42 insertions(+), 8 deletions(-) diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 937124f..6c7aaa8 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 6ad85dd..46ed51c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,19 @@ [build-system] +<<<<<<< before updating requires = ["hatchling"] build-backend = "hatchling.build" +======= +requires = [ + "hatchling", +] +build-backend="hatchling.build" +>>>>>>> after updating [project] name = "hatch-cpp" -authors = [{name = "the hatch-cpp authors", email = "t.paine154@gmail.com"}] +authors = [ + {name = "the hatch-cpp authors", email = "t.paine154@gmail.com"}, +] description = "Hatch plugin for C++ builds" readme = "README.md" license = { text = "Apache-2.0" } @@ -54,6 +63,7 @@ develop = [ "pytest-cov", "ruff>=0.9,<0.15", "twine", + "ty", "uv", "wheel", # test @@ -118,26 +128,50 @@ artifacts = [] src = "/" [tool.hatch.build.targets.sdist] -packages = ["hatch_cpp"] +packages = [ + "hatch_cpp", +] [tool.hatch.build.targets.wheel] -packages = ["hatch_cpp"] +packages = [ + "hatch_cpp", +] [tool.pytest.ini_options] -addopts = ["-vvv", "--junitxml=junit.xml"] +addopts = [ + "-vvv", + "--junitxml=junit.xml", +] testpaths = "hatch_cpp/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 = ["hatch_cpp"] -section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"] +known-first-party = [ + "hatch_cpp", +] +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 e711561daeb017abdbebda1721b00ed297e96a1f Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sun, 15 Feb 2026 01:04:38 -0500 Subject: [PATCH 2/2] Clean up pyproject.toml formatting --- pyproject.toml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 46ed51c..2e974a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,8 @@ [build-system] -<<<<<<< before updating -requires = ["hatchling"] -build-backend = "hatchling.build" -======= requires = [ "hatchling", ] build-backend="hatchling.build" ->>>>>>> after updating [project] name = "hatch-cpp" @@ -167,11 +162,7 @@ section-order = [ ] [tool.ruff.lint.per-file-ignores] -<<<<<<< before updating -"__init__.py" = ["F401", "F403"] -======= "__init__.py" = [ "F401", "F403", ] ->>>>>>> after updating