lint: Clean up E306 PEP-8 rule.
This commit is contained in:
parent
4d81b91185
commit
2f0bc3dc69
|
@ -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()
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue