From ce3fe40c50ee82e7def928fd80565e20831421e6 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 15 Feb 2026 05:58:11 +0000 Subject: [PATCH 1/2] Update from copier (2026-02-15T05:58:11) Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .copier-answers.yaml | 2 +- pyproject.toml | 45 ++++++++++++++++++++++++++++++++++++-------- 2 files changed, 38 insertions(+), 9 deletions(-) diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 3fb06b2..e70a821 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 b46205e..57319d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,14 @@ [build-system] -requires = ["hatchling"] +requires = [ + "hatchling", +] build-backend="hatchling.build" [project] name = "hatch-cmake" -authors = [{name = "the hatch-cmake authors", email = "t.paine154@gmail.com"}] +authors = [ + {name = "the hatch-cmake authors", email = "t.paine154@gmail.com"}, +] description = "Hatch plugin for CMake/C++ builds" readme = "README.md" license = { text = "Apache-2.0" } @@ -49,6 +53,7 @@ develop = [ "pytest-cov", "ruff>=0.9,<0.15", "twine", + "ty", "uv", "wheel", ] @@ -103,28 +108,52 @@ artifacts = [] src = "/" [tool.hatch.build.targets.sdist] -packages = ["hatch_cmake"] +packages = [ + "hatch_cmake", +] [tool.hatch.build.targets.wheel] -packages = ["hatch_cmake"] +packages = [ + "hatch_cmake", +] [tool.hatch.build.targets.wheel.shared-data] [tool.pytest.ini_options] -addopts = ["-vvv", "--junitxml=junit.xml"] +addopts = [ + "-vvv", + "--junitxml=junit.xml", +] testpaths = "hatch_cmake/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_cmake"] -section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"] +known-first-party = [ + "hatch_cmake", +] +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 c5a29614e4ad5f30c56f47cd28870ee6b0509a74 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sun, 15 Feb 2026 01:05:29 -0500 Subject: [PATCH 2/2] Fix lint ignores for __init__.py in pyproject.toml --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 57319d3..f13f5f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -149,11 +149,7 @@ section-order = [ ] [tool.ruff.lint.per-file-ignores] -<<<<<<< before updating -"__init__.py" = ["F401", "F403"] -======= "__init__.py" = [ "F401", "F403", ] ->>>>>>> after updating