mirror of
https://github.com/myles/awesome-static-generators
synced 2025-11-18 03:08:43 +01:00
🚨 Fix up some linter warnings in the README and Python file.
This commit is contained in:
3
sort.py
3
sort.py
@ -43,7 +43,8 @@ def main():
|
||||
|
||||
with open('README.md', 'w+') as sorted_file:
|
||||
# Then all of the blocks are sorted individually
|
||||
blocks = [''.join(sorted(block, key=lambda s: s.lower())) for block in blocks]
|
||||
blocks = [''.join(sorted(block, key=lambda s: s.lower()))
|
||||
for block in blocks]
|
||||
# And the result is written back to README.md
|
||||
sorted_file.write(''.join(blocks))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user