diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-03 19:23:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 19:23:14 +0200 |
commit | d4b53a38359d80a4578d6fb2d8c76241b310f866 (patch) | |
tree | 72d8b52266a25c26132c615b64adfa8b3345ff7c /scripts/check-pr-title-and-commit-messages.py | |
parent | fe09b767cfae7879dcbb8b2cfd52644342776b7e (diff) | |
parent | 74198e68a6edbdb36a6103a7666de530bdd71696 (diff) | |
download | vyos-1x-d4b53a38359d80a4578d6fb2d8c76241b310f866.tar.gz vyos-1x-d4b53a38359d80a4578d6fb2d8c76241b310f866.zip |
Merge pull request #3240 from c-po/spring-cleaning
T6199: spring cleaning - drop unused Python imports
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"]) - |