Skip to content

Commit bf1c565

Browse files
phernandezclaude
andcommitted
merge main into matched-chunk-text
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
2 parents 1bbcbee + c442918 commit bf1c565

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/basic_memory/alembic/versions/j3d4e5f6g7h8_rename_entity_type_to_note_type.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ def table_exists(connection, table_name: str) -> bool:
2222
"""Check if a table exists (idempotent migration support)."""
2323
if connection.dialect.name == "postgresql":
2424
result = connection.execute(
25-
text("SELECT 1 FROM information_schema.tables WHERE table_name = :table_name"),
25+
text(
26+
"SELECT 1 FROM information_schema.tables "
27+
"WHERE table_name = :table_name"
28+
),
2629
{"table_name": table_name},
2730
)
2831
return result.fetchone() is not None

test-int/cli/test_routing_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ def test_project_sync_config_accepts_local_flag(self, app_config):
250250
assert "No such option: --local" not in result.output
251251

252252
def test_project_move_local_only(self, app_config):
253-
"""project move should accept --local flag."""
253+
"""project move should reject --cloud flag."""
254254
result = runner.invoke(cli_app, ["project", "move", "test", "/tmp/dest", "--cloud"])
255-
assert "No such option: --cloud" in result.output
255+
assert result.exit_code == 2
256256

257257
def test_project_ls_accepts_local_flag(self, app_config):
258258
"""project ls should accept --local flag."""

0 commit comments

Comments
 (0)