Fix incorrect typing of function in code_style.py
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
bec95320ba
commit
8d1d6edb0b
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
"""
|
||||
|
@ -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:
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue