Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 18, 2023
1 parent 5683e52 commit 9727e3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tljh/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,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
Expand Down

0 comments on commit 9727e3a

Please sign in to comment.