Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alex28sh committed Nov 29, 2024
1 parent 60f88bf commit e8430dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verified_cogen/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def run_once(
return len(success_zero_tries), len(success), len(failed), cnt


def construct_nagini_rewriter(runner_types: List[str]) -> Optional[Runner]:
def construct_nagini_rewriter(runner_types: List[str]) -> Optional[Rewriter]:
runner = None
for runner_type in runner_types:
if runner_type == "NaginiRewriter":
Expand All @@ -117,7 +117,7 @@ def construct_nagini_rewriter(runner_types: List[str]) -> Optional[Runner]:
return runner


def construct_rewriter(extension: str, runner_types: List[str]) -> Optional[Runner]:
def construct_rewriter(extension: str, runner_types: List[str]) -> Optional[Rewriter]:
if extension == "py":
return construct_nagini_rewriter(runner_types)
if runner_types:
Expand Down

0 comments on commit e8430dc

Please sign in to comment.