Skip to content

Commit

Permalink
Fix incorrect typing of function in code_style.py
Browse files Browse the repository at this point in the history
Signed-off-by: David Horstmann <[email protected]>
  • Loading branch information
davidhorstmann-arm committed Jan 5, 2023
1 parent 2ccd77a commit fa69def
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/code_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def check_style_is_correct(src_file_list: List[str]) -> bool:

return style_correct

def fix_style_single_pass(src_file_list: List[str]) -> None:
def fix_style_single_pass(src_file_list: List[str]) -> bool:
"""
Run Uncrustify once over the source files.
"""
Expand All @@ -146,6 +146,7 @@ def fix_style_single_pass(src_file_list: List[str]) -> None:
str(result.returncode) + " correcting file " + \
src_file)
return False
return True

def fix_style(src_file_list: List[str]) -> int:
"""
Expand Down

0 comments on commit fa69def

Please sign in to comment.