Skip to content

Commit 5c83b9b

Browse files
committed
Add mypy to noxfile
1 parent f3ae00f commit 5c83b9b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

noxfile.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ def typing(session):
101101
session.run("pyright", *session.posargs, REFERENCING)
102102

103103

104+
@session()
105+
def mypy(session):
106+
"""
107+
Check that mypy runs with no blocking errors.
108+
"""
109+
session.install("mypy", ROOT)
110+
session.run("mypy", REFERENCING)
111+
112+
104113
@session(tags=["docs"])
105114
@nox.parametrize(
106115
"builder",

0 commit comments

Comments
 (0)