Skip to content

Commit

Permalink
ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
denik committed Jan 27, 2025
1 parent 30800c5 commit deb762d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acceptance/bin/sort_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"""
Helper to sort lines in text file. Similar to 'sort' but no dependence on locale or presence of 'sort' in PATH.
"""

import sys

lines = sys.stdin.readlines()
lines.sort()
sys.stdout.write("".join(lines))

0 comments on commit deb762d

Please sign in to comment.