Skip to content

Commit

Permalink
Remove with clause
Browse files Browse the repository at this point in the history
  • Loading branch information
kratman committed Sep 11, 2023
1 parent efdb04b commit 9363ada
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,16 @@ def build_docs(session):
"""Build the documentation and load it in a browser tab, rebuilding on changes."""
envbindir = session.bin
session.install("-e", ".[all,docs]")
with session.chdir("docs/"):
session.run(
"sphinx-autobuild",
"-j",
"auto",
"--open-browser",
"-qT",
".",
f"{envbindir}/../tmp/html",
)
session.chdir("docs")
session.run(
"sphinx-autobuild",
"-j",
"auto",
"--open-browser",
"-qT",
".",
f"{envbindir}/../tmp/html",
)


@nox.session(name="pre-commit")
Expand Down

0 comments on commit 9363ada

Please sign in to comment.