From cc9c42688ecb4b756fffb96abdde23e58a047007 Mon Sep 17 00:00:00 2001 From: Nick Murphy Date: Sat, 27 Jul 2024 21:18:48 -0400 Subject: [PATCH] Remove mypy Nox session --- noxfile.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/noxfile.py b/noxfile.py index a7240f6..e7dd7ed 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,6 +1,6 @@ import nox -nox.options.sessions = ["tests"] +nox.options.sessions = ["tests", "docs"] nox.options.default_venv_backend = "uv|virtualenv" @@ -34,17 +34,3 @@ def build(session: nox.Session) -> None: session.run(*build_command, "--sdist") session.run(*build_command, "--wheel") session.run("twine", "check", "dist/*") - - -@nox.session -def mypy(session: nox.Session) -> None: - """Perform static type checking with mypy.""" - MYPY_COMMAND: tuple[str, ...] = ( - "mypy", - ".", - "--show-error-context", - "--show-error-code-links", - "--pretty", - ) - session.install(".") - session.run(*MYPY_COMMAND, *session.posargs)