🚨 Fix up some linter warnings in the README and Python file.

This commit is contained in:
Myles Braithwaite
2018-01-19 10:45:47 -05:00
parent d10d2173a7
commit a59d5b71ae
2 changed files with 96 additions and 95 deletions

View File

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