summaryrefslogtreecommitdiff
path: root/scripts/check-pr-title-and-commit-messages.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-04 15:09:55 +0200
committerGitHub <noreply@github.com>2024-04-04 15:09:55 +0200
commit7f077a0dfc410d974f891e34f0726809d4b1a5b1 (patch)
tree637bdf33a0e87ae735ecd3f19ab120863b3f30be /scripts/check-pr-title-and-commit-messages.py
parentd729069c58c0a670e1f57d6d12c57a41e330742b (diff)
parentca84e6845e6cfeb5f4f5798594b390afb735901f (diff)
downloadvyos-1x-7f077a0dfc410d974f891e34f0726809d4b1a5b1.tar.gz
vyos-1x-7f077a0dfc410d974f891e34f0726809d4b1a5b1.zip
Merge pull request #3241 from c-po/spring-cleaning-sagitta
T6199: spring cleaning - drop unused Python imports (backport #3240)
Diffstat (limited to 'scripts/check-pr-title-and-commit-messages.py')
-rwxr-xr-xscripts/check-pr-title-and-commit-messages.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/check-pr-title-and-commit-messages.py b/scripts/check-pr-title-and-commit-messages.py
index 1d4a3cfe3..001f6cf82 100755
--- a/scripts/check-pr-title-and-commit-messages.py
+++ b/scripts/check-pr-title-and-commit-messages.py
@@ -5,7 +5,6 @@ import sys
import time
import requests
-from pprint import pprint
# Use the same regex for PR title and commit messages for now
title_regex = r'^(([a-zA-Z\-_.]+:\s)?)T\d+:\s+[^\s]+.*'
@@ -50,4 +49,3 @@ if __name__ == '__main__':
# Retrieve every individual commit and check its title
co = requests.get(c["url"]).json()
check_commit_message(co["commit"]["message"])
-