mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
mypy: Add explicit Optional for default=None parameters in various files.
This commit is contained in:
committed by
Tim Abbott
parent
9a90c225a6
commit
090b47ed19
@@ -49,7 +49,7 @@ def server_is_up(server, log_file):
|
||||
|
||||
@contextmanager
|
||||
def test_server_running(force: bool=False, external_host: str='testserver',
|
||||
log_file: str=None, dots: bool=False, use_db: bool=True
|
||||
log_file: Optional[str]=None, dots: bool=False, use_db: bool=True
|
||||
) -> Iterator[None]:
|
||||
log = sys.stdout
|
||||
if log_file:
|
||||
|
||||
Reference in New Issue
Block a user