Skip to content

Commit faa6b31

Browse files
committed
ch10: type-check noxfile.py
1 parent 3898d4b commit faa6b31

File tree

1 file changed

+1
-0
lines changed
  • chapter10-using-types-for-safety-and-inspection

1 file changed

+1
-0
lines changed

chapter10-using-types-for-safety-and-inspection/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def lint(session):
6060
def mypy(session: nox.Session) -> None:
6161
session.install(".[typing,tests]")
6262
session.run("mypy", "src", "tests")
63+
session.run("mypy", f"--python-executable={sys.executable}", "noxfile.py")
6364

6465

6566
def install_coverage_pth(session):

0 commit comments

Comments
 (0)