From 64b4d408819615064fb7afbb40799a908d45759a Mon Sep 17 00:00:00 2001 From: saagpatel Date: Fri, 19 Jun 2026 05:30:04 -0700 Subject: [PATCH 1/3] chore: extend ruff config from portfolio base Switches [tool.ruff] to extend from ~/Projects/ruff.toml which holds the shared baseline (line-length=100, select=E/F/I/UP). Per-repo extras kept via extend-select; target-version stays local. --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 910a343..eb17311 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -95,10 +95,9 @@ tests_dir = "tests/" [tool.ruff] target-version = "py311" -line-length = 100 +extend = "../ruff.toml" [tool.ruff.lint] -select = ["E", "F", "I"] ignore = ["E501"] [tool.setuptools_scm] From 6ebdca60f7be9ae0cd12619698a1145802f36664 Mon Sep 17 00:00:00 2001 From: saagpatel Date: Fri, 19 Jun 2026 05:37:10 -0700 Subject: [PATCH 2/3] fix(release): use os.path.expanduser in test fixture instead of hardcoded path --- tests/test_run_instructions_audit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_run_instructions_audit.py b/tests/test_run_instructions_audit.py index 930f135..357f9e0 100644 --- a/tests/test_run_instructions_audit.py +++ b/tests/test_run_instructions_audit.py @@ -92,9 +92,9 @@ def test_build_record_resolves_path_and_all_six_claims(): "project_summary_present": True, # one set True to prove per-field mapping }, } - record = build_record(project, "/Users/d/Projects") + record = build_record(project, os.path.expanduser("~/Projects")) - assert record["abs_path"] == "/Users/d/Projects/Fun:GamePrjs/BattleGrid" + assert record["abs_path"] == os.path.expanduser("~/Projects/Fun:GamePrjs/BattleGrid") assert record["primary_file_name"] == "AGENTS.md" # no CLAUDE.md → AGENTS.md assert record["context_files"] == ["AGENTS.md", "README.md"] assert record["project_key"] == "Fun:GamePrjs/BattleGrid" From 141679eab2289fc47dd7111081aa242fb518f727 Mon Sep 17 00:00:00 2001 From: saagpatel Date: Fri, 19 Jun 2026 06:04:29 -0700 Subject: [PATCH 3/3] fix(ci): remove parent ruff.toml extend that doesn't exist in CI --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index eb17311..7cbe7ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -95,7 +95,6 @@ tests_dir = "tests/" [tool.ruff] target-version = "py311" -extend = "../ruff.toml" [tool.ruff.lint] ignore = ["E501"]