diff --git a/noxfile.py b/noxfile.py index 3d0ff4a..44c3a64 100644 --- a/noxfile.py +++ b/noxfile.py @@ -34,3 +34,10 @@ def run_tests(session: nox.Session, pytest_extra_args: list[str] = []): @nox.session def tests(session): run_tests(session, pytest_extra_args=session.posargs) + + +@nox.session(default=False) +def typecheck(session): + session.install("-r", "dev-requirements.txt") + session.install("pyright") + session.run("pyright")