ruff format

This commit is contained in:
Denis Bilenko 2025-01-27 10:37:54 +01:00
parent f2f7ddf1a2
commit 6e892c3463
1 changed files with 2 additions and 0 deletions

View File

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