mirror of https://github.com/zulip/zulip.git
pep8: Add compliance with rule E261 tools/run-dev.py.
This commit is contained in:
parent
73ad834129
commit
44edab1cff
|
@ -79,7 +79,6 @@ def check_pep8(files):
|
||||||
# TODO: Clear up this list of violations.
|
# TODO: Clear up this list of violations.
|
||||||
IGNORE_FILES_PEPE261 = [
|
IGNORE_FILES_PEPE261 = [
|
||||||
'api/zulip/__init__.py',
|
'api/zulip/__init__.py',
|
||||||
'tools/run-dev.py',
|
|
||||||
'zerver/tests/test_bugdown.py',
|
'zerver/tests/test_bugdown.py',
|
||||||
'zerver/tests/test_events.py',
|
'zerver/tests/test_events.py',
|
||||||
'zerver/tests/test_messages.py',
|
'zerver/tests/test_messages.py',
|
||||||
|
|
|
@ -100,7 +100,7 @@ if options.interface is None:
|
||||||
elif options.interface == "":
|
elif options.interface == "":
|
||||||
options.interface = None
|
options.interface = None
|
||||||
|
|
||||||
runserver_args = [] # type: List[str]
|
runserver_args = [] # type: List[str]
|
||||||
base_port = 9991
|
base_port = 9991
|
||||||
if options.test:
|
if options.test:
|
||||||
base_port = 9981
|
base_port = 9981
|
||||||
|
@ -227,7 +227,7 @@ class BaseWebsocketHandler(WebSocketHandler):
|
||||||
# type: (*Any, **Any) -> None
|
# type: (*Any, **Any) -> None
|
||||||
super(BaseWebsocketHandler, self).__init__(*args, **kwargs)
|
super(BaseWebsocketHandler, self).__init__(*args, **kwargs)
|
||||||
# define client for target websocket server
|
# define client for target websocket server
|
||||||
self.client = None # type: Any
|
self.client = None # type: Any
|
||||||
|
|
||||||
def get(self, *args, **kwargs):
|
def get(self, *args, **kwargs):
|
||||||
# type: (*Any, **Any) -> Optional[Callable]
|
# type: (*Any, **Any) -> Optional[Callable]
|
||||||
|
|
Loading…
Reference in New Issue