Skip to content

Commit 5c91612

Browse files
committed
Simple fixes to the coverage Nox session
1 parent 7c3fd81 commit 5c91612

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,14 @@ def pinned_requirements(path: Path) -> Iterator[Tuple[str, str]]:
225225

226226

227227
@nox.session
228-
def coverage(session: nox.Session):
228+
def coverage(session: nox.Session) -> None:
229229
if not os.path.exists("./.coverage-output"):
230230
os.mkdirs("./coverage-output")
231231
session.run(
232232
"pytest",
233233
"--cov=pip",
234-
"--cov-config=./setup.cfg"
235-
env={
234+
"--cov-config=./setup.cfg",
235+
env = {
236236
"COVERAGE_OUTPUT_DIR": "./coverage-output",
237237
"COVERAGE_PROCESS_START": "./setup.cfg",
238238
}

0 commit comments

Comments
 (0)