summaryrefslogtreecommitdiff
path: root/scripts/check-pr-title-and-commit-messages.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-03 00:15:43 +0200
committerChristian Breunig <christian@breunig.cc>2024-04-03 00:15:43 +0200
commit274b2da242acd1f1f64ff1dee471e34295137c5f (patch)
tree664ecd75f20eba0115761967a7728f2ab0c086ae /scripts/check-pr-title-and-commit-messages.py
parent4c7c168fe970b807750a05ceb66b70c0d8652535 (diff)
downloadvyos-1x-274b2da242acd1f1f64ff1dee471e34295137c5f.tar.gz
vyos-1x-274b2da242acd1f1f64ff1dee471e34295137c5f.zip
T6199: drop unused Python imports
found using "git ls-files *.py | xargs pylint | grep W0611"
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"])
-