fix type
This commit is contained in:
parent
820bac7614
commit
5fc29ed72b
1 changed files with 2 additions and 2 deletions
4
main.py
4
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(
|
||||
|
|
Reference in a new issue