summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-16 16:09:15 +0200
committerGitHub <noreply@github.com>2024-04-16 16:09:15 +0200
commit3a674cfaa7baf366632c0f01261713ce8d5baab1 (patch)
tree56e7563d5b1934ad94a9108342c451e587e81d0b /scripts
parenteeb1a98a776db56664a504eb4e58df47a24d70cb (diff)
parent2233e4687bce6dd88b0d1f94a7e311c43f28a3c9 (diff)
downloadvyos-build-3a674cfaa7baf366632c0f01261713ce8d5baab1.tar.gz
vyos-build-3a674cfaa7baf366632c0f01261713ce8d5baab1.zip
Merge pull request #568 from sever-sever/T6238
T6238: Fix title check commit message for f-string
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-pr-title-and-commit-messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-pr-title-and-commit-messages.py b/scripts/check-pr-title-and-commit-messages.py
index 8fe3ca79..f7376e98 100755
--- a/scripts/check-pr-title-and-commit-messages.py
+++ b/scripts/check-pr-title-and-commit-messages.py
@@ -20,7 +20,7 @@ def check_pr_title(title):
def check_commit_message(title):
if not re.match(commit_regex, title):
- print("Commit title '{title}' does not match the required format!")
+ print(f"Commit title '{title}' does not match the required format!")
print("Valid title example: T99999: make IPsec secure")
sys.exit(1)