Skip to content

Commit

Permalink
fix: type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Feb 28, 2024
1 parent 7107417 commit 81948e0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion snakedeploy/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pathlib import Path
import os
import shutil
from typing import Optional

from jinja2 import Environment, PackageLoader

Expand Down Expand Up @@ -127,7 +128,12 @@ def deploy_snakefile(self, tmpdir: str, name: str, tag: str, branch: str):


def deploy(
source_url: str, name: str, tag: str, branch: str, dest_path: Path, force=False
source_url: str,
name: Optional[str],
tag: Optional[str],
branch: Optional[str],
dest_path: Path,
force=False,
):
"""
Deploy a given workflow to the local machine, using the Snakemake module system.
Expand Down

0 comments on commit 81948e0

Please sign in to comment.