1
0
mirror of synced 2024-11-23 23:21:03 +01:00

Format code (#716)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2023-07-10 17:59:25 +08:00 committed by GitHub
parent a2848f40bb
commit 9b789025d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,9 +37,7 @@ class Config:
exe = sys.executable or "python" exe = sys.executable or "python"
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("--port", type=int, default=7865, help="Listen port") parser.add_argument("--port", type=int, default=7865, help="Listen port")
parser.add_argument( parser.add_argument("--pycmd", type=str, default=exe, help="Python command")
"--pycmd", type=str, default=exe, help="Python command"
)
parser.add_argument("--colab", action="store_true", help="Launch in colab") parser.add_argument("--colab", action="store_true", help="Launch in colab")
parser.add_argument( parser.add_argument(
"--noparallel", action="store_true", help="Disable parallel processing" "--noparallel", action="store_true", help="Disable parallel processing"