Skip to content

Commit

Permalink
fix types in snakemake_compat
Browse files Browse the repository at this point in the history
  • Loading branch information
pvandyken committed May 9, 2024
1 parent b932290 commit 156f58f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion snakebids/bidsapp/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,3 @@ def run(self, args: list[str] | None = None):
self.parse_args(args)
self.pm.hook.run(config=self.config)
self._run = True

3 changes: 3 additions & 0 deletions snakebids/snakemake_compat.pyi
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
from argparse import ArgumentParser
from pathlib import Path
from types import ModuleType
from typing import Any, Callable, Iterable, Sequence

from snakemake.common import configfile as configfile # type: ignore

configfile: ModuleType

class WildcardError(Exception): ...

def load_configfile(configpath: str) -> dict[str, Any]:
Expand Down

0 comments on commit 156f58f

Please sign in to comment.