From 17b7e0e04272439bcedc7b45d01f57d181d7848e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 27 Nov 2025 08:32:43 +0000 Subject: [PATCH 1/2] Initial plan From cde6902235f84326331b11c2670132ea73d59b58 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 27 Nov 2025 08:35:26 +0000 Subject: [PATCH 2/2] Fix pytest coverage configuration: move --cov=apyds to pyproject.toml Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com> --- .github/workflows/pytest.yml | 2 +- pyproject.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index f0e95e5..d5284b5 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -30,7 +30,7 @@ jobs: run: uv sync --locked --extra dev - name: pytest - run: uv run pytest --cov=pyds + run: uv run pytest wheels: runs-on: ${{ matrix.os }} diff --git a/pyproject.toml b/pyproject.toml index c2ae108..93c2a14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,9 @@ select = ["E4", "E7", "E9", "F"] [tool.ruff.format] +[tool.pytest.ini_options] +addopts = "--cov=apyds" + [tool.cibuildwheel] macos.archs = ["universal2"] windows.archs = ["AMD64"]