From eb804d0b342cfc5cf4149945950f8def1613ae86 Mon Sep 17 00:00:00 2001 From: "Hussam.lawen" Date: Mon, 14 Oct 2024 10:08:36 +0300 Subject: [PATCH] clean --- pr_agent/tools/ticket_pr_compliance_check.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pr_agent/tools/ticket_pr_compliance_check.py b/pr_agent/tools/ticket_pr_compliance_check.py index 25f0f2b0f..491cd6706 100644 --- a/pr_agent/tools/ticket_pr_compliance_check.py +++ b/pr_agent/tools/ticket_pr_compliance_check.py @@ -8,6 +8,7 @@ # Compile the regex pattern once, outside the function GITHUB_TICKET_PATTERN = re.compile(r'(https://github[^/]+/[^/]+/[^/]+/issues/\d+)|(\b(\w+)/(\w+)#(\d+)\b)') + def find_jira_tickets(text): # Regular expression patterns for JIRA tickets patterns = [