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:
@ -5,7 +5,7 @@ A static web site generator is an application that takes plain text files and co
|
||||
[](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)
|
||||
|
||||
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