From 59e7939e95eb9bec6576100e278cb4ffce5a2b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nerijus=20Bend=C5=BEi=C5=ABnas?= Date: Thu, 23 Apr 2026 07:47:13 +0300 Subject: [PATCH] test: add intentional ruff violation to verify github-pr-review reporter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds an unused variable in check_body to confirm the action posts inline review comments on the PR diff. Signed-off-by: Nerijus Bendžiūnas --- src/git_commit_guard/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/git_commit_guard/__init__.py b/src/git_commit_guard/__init__.py index 2219da6..46d252b 100644 --- a/src/git_commit_guard/__init__.py +++ b/src/git_commit_guard/__init__.py @@ -169,6 +169,7 @@ def check_imperative(desc, result): def check_body(lines, result): + separator = lines[1] if len(lines) > 1 else "" if len(lines) < 3: # noqa: PLR2004 result.error("missing body") return