T6238: Fix title check commit message should for f-string

Fix
```
Commit title '{title}' does not match the required format!
```
This commit is contained in:
Viacheslav Hletenko 2024-04-16 08:49:54 +00:00
parent eeb1a98a77
commit 2233e4687b

View File

@ -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)