diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-03 00:15:43 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-04-03 21:02:47 +0200 |
commit | 3ea68d648581a20797b9e1b4438299a057a1820d (patch) | |
tree | a8dc0e66963a9c46a13e3af3b24c5335ca0d5393 /scripts/check-pr-title-and-commit-messages.py | |
parent | 86f793fcb2c6be880819a572cc7982861ca38314 (diff) | |
download | vyos-1x-3ea68d648581a20797b9e1b4438299a057a1820d.tar.gz vyos-1x-3ea68d648581a20797b9e1b4438299a057a1820d.zip |
T6199: drop unused Python imports
found using "git ls-files *.py | xargs pylint | grep W0611"
(cherry picked from commit 274b2da242acd1f1f64ff1dee471e34295137c5f)
Diffstat (limited to 'scripts/check-pr-title-and-commit-messages.py')
-rwxr-xr-x | scripts/check-pr-title-and-commit-messages.py | 2 |
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"]) - |