Skip to content

Commit 856ec8a

Browse files
fix(tests): drop unused src binding that tripped ruff F841 on CI
Local pytest doesn't catch F841; only ruff does. Per the repo lesson (CLAUDE.md), run `uv run python -m ruff check tests/` before pushing test-refactor commits. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d7082f8 commit 856ec8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_staleness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def test_compute_source_hash_changes_on_edit(tmp_path: Path):
152152

153153

154154
def test_check_staleness_help_fresh(tmp_path: Path):
155-
src = _write_src(tmp_path, "src/auth/login.py", "def login(): ...")
155+
_write_src(tmp_path, "src/auth/login.py", "def login(): ...")
156156
help_dir = tmp_path / ".help"
157157
feat = Feature(name="auth", description="Auth", files=["src/auth/**"])
158158
manifest = _make_manifest(feat)

0 commit comments

Comments
 (0)