mirror of https://github.com/zulip/zulip.git
lint: Clean up E306 PEP-8 rule.
This commit is contained in:
parent
e3e92903eb
commit
e5daec46ec
|
@ -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:
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -88,7 +88,7 @@ def check_pep8(files):
|
|||
# actually be cleaned up.
|
||||
#
|
||||
'E123', 'E126', 'E226', 'E241', 'E261', 'E302',
|
||||
'E306', 'E401', 'E501', 'E702', 'E711', 'E712', 'E713', 'E714',
|
||||
'E401', 'E501', 'E702', 'E711', 'E712', 'E713', 'E714',
|
||||
'E741',
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue