lint: Clean up E306 PEP-8 rule.

This commit is contained in:
Tim Abbott 2017-01-23 21:04:49 -08:00
parent 4d81b91185
commit 2f0bc3dc69
2 changed files with 3 additions and 0 deletions

View file

@ -4,9 +4,11 @@ def test():
for cmd, expected_response in sample_conversation(): for cmd, expected_response in sample_conversation():
message = {'content': cmd, 'subject': 'foo', message = {'content': cmd, 'subject': 'foo',
'display_recipient': 'bar'} 'display_recipient': 'bar'}
class ClientDummy(object): class ClientDummy(object):
def __init__(self): def __init__(self):
self.output = '' self.output = ''
def send_message(self, params): def send_message(self, params):
self.output = params['content'] self.output = params['content']
handler = converter.ConverterHandler() handler = converter.ConverterHandler()

View file

@ -423,6 +423,7 @@ class Client(object):
# type: (Callable, Optional[List[str]], Any) -> None # type: (Callable, Optional[List[str]], Any) -> None
if narrow is None: if narrow is None:
narrow = [] narrow = []
def do_register(): def do_register():
# type: () -> Tuple[str, int] # type: () -> Tuple[str, int]
while True: while True: