cleanup: Fix whitespace around function annotation arrows.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
bd9bb0a4e8
commit
562fe610b7
|
@ -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'}):
|
||||
|
|
|
@ -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'):
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue