diff --git a/pyproject.toml b/pyproject.toml index 910a343..7cbe7ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -95,10 +95,8 @@ tests_dir = "tests/" [tool.ruff] target-version = "py311" -line-length = 100 [tool.ruff.lint] -select = ["E", "F", "I"] ignore = ["E501"] [tool.setuptools_scm] 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"