Skip to content

Commit

Permalink
Remove unnecessary type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie committed Dec 3, 2022
1 parent 239e76c commit f068dab
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/prisma/cli/_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,16 @@ def __run__(
else:
raise UnknownTargetError(target=self.target)

# TODO
return func( # type: ignore
args,
check=check,
cwd=cwd,
env=env,
stdout=stdout,
stderr=stderr,
return cast(
subprocess.CompletedProcess[bytes],
func(
args,
check=check,
cwd=cwd,
env=env,
stdout=stdout,
stderr=stderr,
),
)

@property
Expand Down

0 comments on commit f068dab

Please sign in to comment.