MCPcopy
hub / github.com/urllib3/urllib3 / mypy

Function mypy

noxfile.py:323–339  ·  view source on GitHub ↗

Run mypy.

(session: nox.Session)

Source from the content-addressed store, hash-verified

321
322@nox.session(python="3.12")
323def mypy(session: nox.Session) -> None:
324 """Run mypy."""
325 session.env["UV_PROJECT_ENVIRONMENT"] = session.virtualenv.location
326 session.run_install("uv", "sync", "--frozen", "--only-group", "mypy")
327 session.install(".")
328 session.run("mypy", "--version")
329 session.run(
330 "mypy",
331 "-p",
332 "dummyserver",
333 "-m",
334 "noxfile",
335 "-p",
336 "urllib3",
337 "-p",
338 "test",
339 )
340
341
342@nox.session

Callers 1

lintFunction · 0.85

Calls 2

installMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected