Skip to content

Commit 128890c

Browse files
style
1 parent 129e4f1 commit 128890c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

colabcode/code.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import os
22
import subprocess
33

4-
from pyngrok import ngrok
54
import nest_asyncio
65
import uvicorn
6+
from pyngrok import ngrok
77

88

99
try:
@@ -19,7 +19,9 @@
1919

2020

2121
class ColabCode:
22-
def __init__(self, port=10000, password=None, authtoken=None, mount_drive=False, code=True):
22+
def __init__(
23+
self, port=10000, password=None, authtoken=None, mount_drive=False, code=True
24+
):
2325
self.port = port
2426
self.password = password
2527
self.authtoken = authtoken
@@ -33,7 +35,9 @@ def __init__(self, port=10000, password=None, authtoken=None, mount_drive=False,
3335

3436
@staticmethod
3537
def _install_code():
36-
subprocess.run(["wget", "https://code-server.dev/install.sh"], stdout=subprocess.PIPE)
38+
subprocess.run(
39+
["wget", "https://code-server.dev/install.sh"], stdout=subprocess.PIPE
40+
)
3741
subprocess.run(
3842
["sh", "install.sh", "--version", f"{CODESERVER_VERSION}"],
3943
stdout=subprocess.PIPE,

0 commit comments

Comments
 (0)