diff --git a/zulip_bots/zulip_bots/bots/baremetrics/test_baremetrics.py b/zulip_bots/zulip_bots/bots/baremetrics/test_baremetrics.py index 0aad62b..15b231d 100644 --- a/zulip_bots/zulip_bots/bots/baremetrics/test_baremetrics.py +++ b/zulip_bots/zulip_bots/bots/baremetrics/test_baremetrics.py @@ -74,7 +74,7 @@ class TestBaremetricsBot(BotTestCase, DefaultTests): with self.mock_http_conversation('list_subscriptions'): self.verify_reply('list-subscriptions TEST', r) - def test_exception_when_api_key_is_invalid(self)-> None: + def test_exception_when_api_key_is_invalid(self) -> None: bot_test_instance = BaremetricsHandler() with self.mock_config_info({'api_key': 'TEST'}): diff --git a/zulip_bots/zulip_bots/bots/link_shortener/test_link_shortener.py b/zulip_bots/zulip_bots/bots/link_shortener/test_link_shortener.py index e078fdb..ee00ab4 100644 --- a/zulip_bots/zulip_bots/bots/link_shortener/test_link_shortener.py +++ b/zulip_bots/zulip_bots/bots/link_shortener/test_link_shortener.py @@ -44,7 +44,7 @@ class TestLinkShortenerBot(BotTestCase, DefaultTests): ('Mention the link shortener bot in a conversation and then ' 'enter any URLs you want to shorten in the body of the message.')) - def test_exception_when_api_key_is_invalid(self)-> None: + def test_exception_when_api_key_is_invalid(self) -> None: bot_test_instance = LinkShortenerHandler() with self.mock_config_info({'key': 'qwertyuiopx'}): with self.mock_http_conversation('test_invalid_access_token'): diff --git a/zulip_bots/zulip_bots/bots/merels/merels.py b/zulip_bots/zulip_bots/bots/merels/merels.py index 9e723c8..941f481 100644 --- a/zulip_bots/zulip_bots/bots/merels/merels.py +++ b/zulip_bots/zulip_bots/bots/merels/merels.py @@ -32,7 +32,7 @@ class MerelsModel: return 'current turn' return '' - def contains_winning_move(self, board: Any) ->bool: + def contains_winning_move(self, board: Any) -> bool: merels = database.MerelsStorage(self.topic, self.storage) data = game_data.GameData(merels.get_game_data(self.topic))