From 496f21ac30c47613f054bf74cc252d91af163d48 Mon Sep 17 00:00:00 2001 From: LIU ZHE YOU Date: Sun, 28 Dec 2025 12:23:31 +0800 Subject: [PATCH] chore: replace pre-commit with prek in Makefile and remove debug print statement in queue.py --- Makefile | 2 +- pgmq_sqlalchemy/queue.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8516328..4fbf6b5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .DEFAULT_GOAL := help install: ## Install dependencies and `ruff` pre-commit hooks - pre-commit install + prek install uv sync --extra dev build: ## Build the package diff --git a/pgmq_sqlalchemy/queue.py b/pgmq_sqlalchemy/queue.py index 5e7793a..35ff4f8 100644 --- a/pgmq_sqlalchemy/queue.py +++ b/pgmq_sqlalchemy/queue.py @@ -844,7 +844,6 @@ async def _set_vt_async( ) ).fetchone() await session.commit() - print("row", row) if row is None: return None return Message(