From 2f0bc3dc69a835e151919d956de48b4e99c039e3 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 23 Jan 2017 21:04:49 -0800 Subject: [PATCH] lint: Clean up E306 PEP-8 rule. --- contrib_bots/bots/converter/tests.py | 2 ++ zulip/__init__.py | 1 + 2 files changed, 3 insertions(+) diff --git a/contrib_bots/bots/converter/tests.py b/contrib_bots/bots/converter/tests.py index 6c2c9ea..539d3d8 100644 --- a/contrib_bots/bots/converter/tests.py +++ b/contrib_bots/bots/converter/tests.py @@ -4,9 +4,11 @@ def test(): for cmd, expected_response in sample_conversation(): message = {'content': cmd, 'subject': 'foo', 'display_recipient': 'bar'} + class ClientDummy(object): def __init__(self): self.output = '' + def send_message(self, params): self.output = params['content'] handler = converter.ConverterHandler() diff --git a/zulip/__init__.py b/zulip/__init__.py index 4f67415..93650fe 100644 --- a/zulip/__init__.py +++ b/zulip/__init__.py @@ -423,6 +423,7 @@ class Client(object): # type: (Callable, Optional[List[str]], Any) -> None if narrow is None: narrow = [] + def do_register(): # type: () -> Tuple[str, int] while True: