lint: Clean up E306 rule.
MODIFY
contrib_bots/bots/converter/tests.py
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()

MODIFY
zulip/__init__.py
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:

lint: Clean up E306 PEP-8 rule.