Resolve all the `pre-commit` issues
@@ -217,11 +217,10 @@ def vendoring(session: nox.Session) -> None:
release.commit_file(session, ".", message=message)
-
@nox.session
def coverage(session: nox.Session) -> None:
if not os.path.exists("./.coverage-output"):
- os.mkdirs("./coverage-output")
+ os.mkdir("./coverage-output")
session.run(
"pytest",
"--cov=pip",
@@ -229,7 +228,7 @@ def coverage(session: nox.Session) -> None:
env={
"COVERAGE_OUTPUT_DIR": "./coverage-output",
"COVERAGE_PROCESS_START": "./setup.cfg",
- }
+ },
)
