summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-04-16 08:49:54 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-04-16 08:49:54 +0000
commit2233e4687bce6dd88b0d1f94a7e311c43f28a3c9 (patch)
tree56e7563d5b1934ad94a9108342c451e587e81d0b /scripts
parenteeb1a98a776db56664a504eb4e58df47a24d70cb (diff)
downloadvyos-build-2233e4687bce6dd88b0d1f94a7e311c43f28a3c9.tar.gz
vyos-build-2233e4687bce6dd88b0d1f94a7e311c43f28a3c9.zip
T6238: Fix title check commit message should for f-string
Fix ``` Commit title '{title}' does not match the required format! ```
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)