fix: missing f-string in tag validation error message
@@ -15,7 +15,7 @@ logger = logging.getLogger(__name__)
tag_fmt = "[a-z0-9]([-._a-z0-9]*[a-z0-9])?"
tag_max_length = 63
tag_max_length_error_msg = (
- "a tag's name or version must be at most {tag_max_length} characters in length"
+ f"a tag's name or version must be at most {tag_max_length} characters in length"
)
tag_invalid_error_msg = "a tag's name or version must consist of alphanumeric characters, '_', '-', or '.', and must start and end with an alphanumeric character"
tag_regex = re.compile(f"^{tag_fmt}$")
