From 60e8943ed28b032e57c7eb19646e228da9007efb Mon Sep 17 00:00:00 2001 From: Aditya Bansal Date: Sun, 4 Jun 2017 15:00:42 +0530 Subject: [PATCH] pep8: Add compliance with rule E261 bot_lib.py. --- bots_api/bot_lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bots_api/bot_lib.py b/bots_api/bot_lib.py index d9ad384..3dd1bb2 100644 --- a/bots_api/bot_lib.py +++ b/bots_api/bot_lib.py @@ -29,7 +29,7 @@ class RateLimit(object): # type: (int, int) -> None self.message_limit = message_limit self.interval_limit = interval_limit - self.message_list = [] # type: List[float] + self.message_list = [] # type: List[float] self.error_message = '-----> !*!*!*MESSAGE RATE LIMIT REACHED, EXITING*!*!*! <-----\n' 'Is your bot trapped in an infinite loop by reacting to its own messages?' @@ -97,7 +97,7 @@ class BotHandlerApi(object): class StateHandler(object): def __init__(self): # type: () -> None - self.state = None # type: Any + self.state = None # type: Any def set_state(self, state): # type: (Any) -> None