Skip to content

Commit

Permalink
Type fixes?
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Nov 12, 2024
1 parent 0ba4347 commit b431e64
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/galaxy/tool_util/deps/mulled/mulled_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
mulled-hash samtools=1.3.1,bedtools=2.22
"""
from typing import (
Callable,
Dict,
)

from ._cli import arg_parser
from ..conda_util import hash_conda_packages
Expand All @@ -19,8 +23,9 @@
v2_image_name,
)

HASH_FUNCTION: Callable[[str], str]

IMAGE_FUNCS = {
IMAGE_FUNCS: Dict[str, HASH_FUNCTION] = {
"conda": lambda x: f"mulled-v1-{hash_conda_packages(x)}",
"v1": v1_image_name,
"v2": v2_image_name,
Expand Down

0 comments on commit b431e64

Please sign in to comment.