Skip to content

Commit f1079b9

Browse files
authored
fix: resolve ruff linting issues (E501, E731)
1 parent 849168a commit f1079b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sorts/sleep_sort.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ def sleeper(value: int) -> None:
2929
result.append(value)
3030

3131
threads = [threading.Thread(target=sleeper, args=(x,)) for x in arr]
32-
for t in threads:
33-
t.start()
34-
for t in threads:
35-
t.join()
32+
for thread in threads:
33+
thread.start()
34+
for thread in threads:
35+
thread.join()
3636

3737
return result
3838

0 commit comments

Comments
 (0)