From 808d3671a6fce436bc2feb17a3c389bb8e4fef9d Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Fri, 14 Apr 2023 17:17:05 +0100 Subject: [PATCH] utils: Remove unneeded sort() methods --- utils/check-style-clang-format.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index 2903e4d88..773ec0bad 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -394,8 +394,6 @@ def check_formatting(filenames: List[str], if not formatted: files_not_formatted.append(filename) - files_not_formatted.sort() - # Output results if not files_not_formatted: print('All files are well formatted') @@ -497,8 +495,6 @@ def check_trailing_whitespace(filenames: List[str], if has_whitespace: files_with_whitespace.append(filename) - files_with_whitespace.sort() - # Output results if not files_with_whitespace: print('No files detected with trailing whitespace') @@ -590,8 +586,6 @@ def check_tabs(filenames: List[str], if has_tabs: files_with_tabs.append(filename) - files_with_tabs.sort() - # Output results if not files_with_tabs: print('No files detected with tabs')