Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 20b1194

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 91a7d31 commit 20b1194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.actions/assistant.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
PATH_SCRIPT_RENDER = os.path.join(_PATH_HERE, "_ipynb-render.sh")
2222
PATH_SCRIPT_TEST = os.path.join(_PATH_HERE, "_ipynb-test.sh")
2323
# https://askubuntu.com/questions/909918/how-to-show-unzip-progress
24-
UNZIP_PROGRESS_BAR = " | awk 'BEGIN {ORS=\" \"} {if(NR%10==0)print \".\"}'"
24+
UNZIP_PROGRESS_BAR = ' | awk \'BEGIN {ORS=" "} {if(NR%10==0)print "."}\''
2525
REPO_NAME = "lightning-tutorials"
2626
COLAB_REPO_LINK = "https://colab.research.google.com/github/PytorchLightning"
2727
BRANCH_DEFAULT = "main"
@@ -361,7 +361,7 @@ def bash_test(folder: str, output_file: str = PATH_SCRIPT_TEST) -> Optional[str]
361361
ipynb_file, meta_file, _ = AssistantCLI._valid_folder(folder, ext=".ipynb")
362362

363363
# prepare isolated environment with inheriting the global packages
364-
path_venv = os.path.join(folder, 'venv')
364+
path_venv = os.path.join(folder, "venv")
365365
cmd += [
366366
f"rm -rf {path_venv}",
367367
f"python -m virtualenv --system-site-packages {path_venv}",

0 commit comments

Comments
 (0)