check-style: Sort list of files to be analyzed

This commit is contained in:
Eduardo Almeida
2023-09-06 23:08:07 +01:00
parent c4aa94ee5f
commit 2f62a518a9

View File

@@ -197,6 +197,8 @@ def find_files_to_check_style(path: str) -> Tuple[List[str], List[str], List[str
else:
raise ValueError(f'Error: {path} is not a file nor a directory')
files_to_check.sort()
files_to_check_formatting: List[str] = []
files_to_check_whitespace: List[str] = []
files_to_check_tabs: List[str] = []