From b5a92150b34b0b222ca31d5c8f583eb7c6860939 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 18 May 2023 19:47:53 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tljh/installer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tljh/installer.py b/tljh/installer.py index fb59edbd..d52877f5 100644 --- a/tljh/installer.py +++ b/tljh/installer.py @@ -260,7 +260,9 @@ def ensure_user_environment(user_requirements_txt_file): # version specification used for the hub env. # with open(os.path.join(HERE, "requirements-hub-env.txt")) as f: - jupyterhub_version_spec = [line for line in f if line.startswith("jupyterhub>=")][0] + jupyterhub_version_spec = [ + line for line in f if line.startswith("jupyterhub>=") + ][0] conda.ensure_pip_packages(USER_ENV_PREFIX, [jupyterhub_version_spec], upgrade=True) # Install user environment extras for initial installations