Skip to content

Commit

Permalink
Remove mypy Nox session
Browse files Browse the repository at this point in the history
  • Loading branch information
namurphy committed Jul 28, 2024
1 parent f179a06 commit cc9c426
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import nox

nox.options.sessions = ["tests"]
nox.options.sessions = ["tests", "docs"]
nox.options.default_venv_backend = "uv|virtualenv"


Expand Down Expand Up @@ -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)

0 comments on commit cc9c426

Please sign in to comment.