From c18ec478d5f9019cd08ae3983593277c30ad2f6a Mon Sep 17 00:00:00 2001 From: Thiago Perrotta Date: Fri, 3 Jan 2025 19:19:30 -0300 Subject: [PATCH] fix: use single quotes inside f-string brackets Closes #14 --- check_yamlschema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_yamlschema.py b/check_yamlschema.py index f6df8e7..bb81c1a 100644 --- a/check_yamlschema.py +++ b/check_yamlschema.py @@ -123,11 +123,11 @@ def main(): file, doc["content"], doc["schema_url"], validator ) logging.debug( - f"{file} document {index}: validated according to {doc["schema_url"]}" + f"{file} document {index}: validated according to {doc['schema_url']}" ) except jsonschema.exceptions.ValidationError as exception: logging.error( - f"{file} document {index}: validation failed according to {doc["schema_url"]}:\n" + f"{file} document {index}: validation failed according to {doc['schema_url']}:\n" f"{exception.message}" ) logging.debug(exception, stack_info=True)