From 5fc29ed72b578da95794c90b43447ac4668ec064 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 30 May 2023 15:08:41 +0200 Subject: [PATCH] fix type --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index c89701d..16cb4d4 100644 --- a/main.py +++ b/main.py @@ -33,10 +33,10 @@ def parse_clang_format_output(output) -> list[ClangError]: errors = [] for error_match in error_matches: - filename = error_match.group("filename") + filename = str(error_match.group("filename")) line_number = int(error_match.group("line_number")) column_number = int(error_match.group("column_number")) - warning_message = error_match.group("warning_message") + warning_message = str(error_match.group("warning_message")) errors.append( ClangError(