From 9363ada508c38054f18583f56ee59ab0db1163ec Mon Sep 17 00:00:00 2001 From: kratman Date: Sun, 10 Sep 2023 22:25:35 -0400 Subject: [PATCH] Remove with clause --- noxfile.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/noxfile.py b/noxfile.py index d1f119cdf1..039742f746 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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")