Skip to content

Commit 3841188

Browse files
committed
fix: Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @tests/test_workspace_db_special_paths.py at line 66, The test unpacks a second value from the context manager returned by open_global_db(ws_root) into the variable name path but never uses it, causing a Ruff RUF059 lint error; update the unpacked name in the with statement (the tuple unpack from open_global_db in tests/test_workspace_db_special_paths.py) to a discard name like _path or _ to mark it intentionally unused while leaving conn unchanged.
1 parent 44d8474 commit 3841188

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_workspace_db_special_paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_build_composer_id_to_workspace_id_handles_spaces(self):
6363
def test_open_global_db_handles_spaces(self):
6464
with tempfile.TemporaryDirectory() as tmp:
6565
ws_root = self._build_fixture(tmp)
66-
with open_global_db(ws_root) as (conn, path):
66+
with open_global_db(ws_root) as (conn, _):
6767
self.assertIsNotNone(conn)
6868
row = conn.execute(
6969
"SELECT key FROM cursorDiskKV WHERE key = 'composerData:probe'"

0 commit comments

Comments
 (0)