Simple fixes to the `coverage` Nox session
@@ -225,13 +225,13 @@ def vendoring(session: nox.Session) -> None:
@nox.session
-def coverage(session: nox.Session):
+def coverage(session: nox.Session) -> None:
if not os.path.exists("./.coverage-output"):
os.mkdirs("./coverage-output")
session.run(
"pytest",
"--cov=pip",
- "--cov-config=./setup.cfg"
+ "--cov-config=./setup.cfg",
env = {
"COVERAGE_OUTPUT_DIR": "./coverage-output",
"COVERAGE_PROCESS_START": "./setup.cfg",
