mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -6,18 +6,12 @@ from tljh.hooks import hookimpl
|
||||
|
||||
@hookimpl
|
||||
def tljh_extra_user_conda_packages():
|
||||
return [
|
||||
"hypothesis",
|
||||
"csvtk",
|
||||
"tqdm"
|
||||
]
|
||||
return ["hypothesis", "csvtk", "tqdm"]
|
||||
|
||||
|
||||
@hookimpl
|
||||
def tljh_extra_user_conda_channels():
|
||||
return [
|
||||
"conda-forge",
|
||||
"bioconda"
|
||||
]
|
||||
return ["conda-forge", "bioconda"]
|
||||
|
||||
|
||||
@hookimpl
|
||||
|
||||
@@ -33,6 +33,7 @@ def test_conda_packages():
|
||||
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/python3", "-c", "import hypothesis"])
|
||||
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/csvtk", "cat", "--help"])
|
||||
|
||||
|
||||
def test_tljh_extra_apt_packages():
|
||||
assert os.path.exists("/usr/games/sl")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user