🚨 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

@ -5,7 +5,7 @@ A static web site generator is an application that takes plain text files and co
[![Changelog Feed](https://mozorg.cdn.mozilla.net/media/img/trademarks/feed-icon-14x14.png)](https://github.com/myles/awesome-static-generators/commits/master/README.md.atom)
- [Awesome Static Web Site Generators](#awesome-static-web-site-generators)
- [Blogs](#blogs)
- [Blogs](#blogs)
- [CMS](#cms)
- [Documentation](#documentation)
- [Frameworks](#frameworks)

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