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, ) 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):