Skip to content

Commit

Permalink
Attempt to make mypy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
msfterictraut committed Jun 8, 2023
1 parent 8c71a0c commit 57a099f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy_primer/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def name(self) -> str:
def venv_dir(self) -> Path:
return ctx.get().projects_dir / f"_{self.name}_venv"

def expected_success(self, type_checker: str):
def expected_success(self, type_checker: str) -> bool:
if type_checker == "mypy":
return self.expected_mypy_success
elif type_checker == "pyright":
Expand Down

0 comments on commit 57a099f

Please sign in to comment.