TaniaMalhotra / Hacktoberfest-Bot

A bot that tweets open issues labeled with "Hacktoberfest"
https://twitter.com/Hacktoberfesti1
MIT License
13 stars 6 forks source link

updated code to ensure pep8 compliance #17

Closed sculley closed 4 years ago

sculley commented 4 years ago

I have updated the code to address the PEP8 validation warnings/errors found by flake8 identified in [Issue #4]

bot.py:4:1: F401 'json' imported but unused
bot.py:12:1: E302 expected 2 blank lines, found 1
bot.py:13:80: E501 line too long (130 > 79 characters)
bot.py:16:1: E305 expected 2 blank lines after class or function definition, found 1
bot.py:18:1: E265 block comment should start with '# '
bot.py:19:17: E231 missing whitespace after ','
bot.py:22:1: E302 expected 2 blank lines, found 1
bot.py:26:1: E302 expected 2 blank lines, found 1
bot.py:31:21: E231 missing whitespace after ','
bot.py:33:25: E231 missing whitespace after ','
bot.py:36:17: E265 block comment should start with '# '
bot.py:36:80: E501 line too long (96 > 79 characters)
bot.py:40:41: E251 unexpected spaces around keyword / parameter equals
bot.py:40:43: E251 unexpected spaces around keyword / parameter equals
bot.py:53:21: E231 missing whitespace after ','
bot.py:62:1: E303 too many blank lines (3)
bot.py:69:1: E305 expected 2 blank lines after class or function definition, found 1
TaniaMalhotra commented 4 years ago

This looks perfect Thank you for your contribution @sculley 🎉

TaniaMalhotra commented 4 years ago

Do star the repository if you found my bot useful :)