[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-09-29 21:35:50 +00:00
parent 6359bf498c
commit 9bde7e4680
5 changed files with 11 additions and 15 deletions

View File

@@ -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

View File

@@ -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")