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

This commit is contained in:
Khiet Tam Nguyen 2026-01-18 23:45:53 +11:00 committed by GitHub
commit ede8e5ca81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 6 deletions

View file

@ -39,4 +39,3 @@ jobs:
uses: actions/checkout@main
- name: Ensure sorted
run: python3 ensure_sorted.py

View file

@ -10,7 +10,6 @@ FDROID_SETTINGS=$( \
| sed "s/)].*/;/g" \
)
FAILED=0
while IFS=';' read -ra TOK; do

View file

@ -76,4 +76,4 @@ function check_links() {
fi
}
check_links
check_links

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()