style: fix trailing new lines + spaces (#598)

This commit is contained in:
Khiet Tam Nguyen
2026-01-18 12:45:53 +00:00
committed by GitHub
parent b7960e5940
commit ede8e5ca81
4 changed files with 3 additions and 6 deletions
-1
View File
@@ -39,4 +39,3 @@ jobs:
uses: actions/checkout@main
- name: Ensure sorted
run: python3 ensure_sorted.py
-1
View File
@@ -10,7 +10,6 @@ FDROID_SETTINGS=$( \
| sed "s/)].*/;/g" \
)
FAILED=0
while IFS=';' read -ra TOK; do
+1 -1
View File
@@ -76,4 +76,4 @@ function check_links() {
fi
}
check_links
check_links
+2 -3
View File
@@ -35,7 +35,7 @@ class Category:
for i in range(1, len(self.apps)):
if self.apps[i] < self.apps[i-1]:
return f'App {bcolors.RED}{self.apps[i-1]}{bcolors.ENDC} is not in the correct order'
def how_to_sort(self):
sorted_apps = sorted(self.apps)
unsorted_apps = self.apps.copy()
@@ -49,7 +49,7 @@ class Category:
def __str__(self):
return str(self.apps)
def __repr__(self):
return self.__str__()
@@ -98,7 +98,6 @@ def main():
if not all_sorted:
exit(2)
if __name__ == "__main__":
main()