From dc9910f170e2de0cfc02b2dcbd2a2211db721a0d Mon Sep 17 00:00:00 2001 From: Michael Ventnor Date: Fri, 27 Feb 2026 13:57:04 -0600 Subject: [PATCH 1/2] Don't assume in transaction just beause of alembic --- squawk_alembic/hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squawk_alembic/hook.py b/squawk_alembic/hook.py index 92a6785..23cb2a8 100644 --- a/squawk_alembic/hook.py +++ b/squawk_alembic/hook.py @@ -220,7 +220,7 @@ def main(): try: result = subprocess.run( - ["squawk", "--assume-in-transaction", tmp_path], + ["squawk", tmp_path], capture_output=True, text=True, ) From 5174b97344589acf435bc210426f712228f49af3 Mon Sep 17 00:00:00 2001 From: Michael Ventnor Date: Fri, 27 Feb 2026 13:59:47 -0600 Subject: [PATCH 2/2] Fix test --- tests/test_main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_main.py b/tests/test_main.py index 8fae3b5..3590525 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -99,7 +99,6 @@ def upgrade(): assert "def456:abc123" in alembic_call squawk_call = mock_run.call_args_list[1][0][0] assert squawk_call[0] == "squawk" - assert "--assume-in-transaction" in squawk_call def test_squawk_failure(repo, capsys):