Skip to content

Commit ede8e5c

Browse files
authored
style: fix trailing new lines + spaces (#598)
1 parent b7960e5 commit ede8e5c

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ jobs:
3939
uses: actions/checkout@main
4040
- name: Ensure sorted
4141
run: python3 ensure_sorted.py
42-

check.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ FDROID_SETTINGS=$( \
1010
| sed "s/)].*/;/g" \
1111
)
1212

13-
1413
FAILED=0
1514

1615
while IFS=';' read -ra TOK; do

check_manually.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ function check_links() {
7676
fi
7777
}
7878

79-
check_links
79+
check_links

ensure_sorted.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def where_unsorted(self):
3535
for i in range(1, len(self.apps)):
3636
if self.apps[i] < self.apps[i-1]:
3737
return f'App {bcolors.RED}{self.apps[i-1]}{bcolors.ENDC} is not in the correct order'
38-
38+
3939
def how_to_sort(self):
4040
sorted_apps = sorted(self.apps)
4141
unsorted_apps = self.apps.copy()
@@ -49,7 +49,7 @@ def how_to_sort(self):
4949

5050
def __str__(self):
5151
return str(self.apps)
52-
52+
5353
def __repr__(self):
5454
return self.__str__()
5555

@@ -98,7 +98,6 @@ def main():
9898

9999
if not all_sorted:
100100
exit(2)
101-
102101

103102
if __name__ == "__main__":
104103
main()

0 commit comments

Comments
 (0)