From 007e9d993e44fd116b34164d7235dc9a50c7c295 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Jul 2026 13:40:36 +0000 Subject: [PATCH 1/2] Initial plan From 97dc4f6afb45990e7c2412834d955e4e87eeb1b7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Jul 2026 13:47:11 +0000 Subject: [PATCH 2/2] Fix update-uv-graph: use TOML literal string for poe clean task shell script toml-rb 4.2.0 (used by Dependabot) incorrectly rejects \\ before newlines in TOML multi-line basic strings, raising 'Escape sequence \- is reserved'. Switch the poe clean task shell field to a TOML multi-line literal string (''') where backslashes are never escape characters, and use single \ for shell line continuations instead of \\. --- pyproject.toml | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b2d50ec..74e1d88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -159,31 +159,31 @@ python -m http.server 3333 --directory ./test-reports/htmlcov [tool.poe.tasks.clean] help = "Remove all files generated by tests, builds, or operating this codebase" -shell = """ +shell = ''' rm -rf dist build coverage.xml test-reports sample/ tests/artifacts/ -find . \\ - -type d \\ - \\( \\ - -name "*cache*" \\ - -o -name "*.dist-info" \\ - -o -name "*.egg-info" \\ - -o -name "*htmlcov" \\ - -o -name "*.metaflow" \\ - -o -name "*.metaflow.s3" \\ - -o -name "*.mypy_cache" \\ - -o -name "*.pytest_cache" \\ - -o -name "*.ruff_cache" \\ - -o -name "*__pycache__" \\ - \\) \\ - -not -path "*env/*" \\ +find . \ + -type d \ + \( \ + -name "*cache*" \ + -o -name "*.dist-info" \ + -o -name "*.egg-info" \ + -o -name "*htmlcov" \ + -o -name "*.metaflow" \ + -o -name "*.metaflow.s3" \ + -o -name "*.mypy_cache" \ + -o -name "*.pytest_cache" \ + -o -name "*.ruff_cache" \ + -o -name "*__pycache__" \ + \) \ + -not -path "*env/*" \ -exec rm -r {} + || true -find . \\ - -type f \\ - -name "*.pyc" \\ - -o -name "*.DS_Store" \\ - -o -name "*.coverage*" \\ - -not -path "*env/*" \\ +find . \ + -type f \ + -name "*.pyc" \ + -o -name "*.DS_Store" \ + -o -name "*.coverage*" \ + -not -path "*env/*" \ -exec rm {} + -""" +'''