Skip to content

Commit fddad3c

Browse files
committed
format
1 parent 23bb27b commit fddad3c

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

noxfile.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,12 @@ def test(session: nox.Session):
238238
def install_pyodide_emscripten(session: nox.Session):
239239
with session.chdir(EMSCRIPTEN_DIR):
240240
session.run("npm", "install", f"pyodide@{PYODIDE_VERSION}", external=True)
241-
emscripten_version = session.run("node", "get_emscripten_version.js", external=True, silent=True).strip()
242-
python_version = session.run("node", "get_python_version.js", external=True, silent=True).strip()
241+
emscripten_version = session.run(
242+
"node", "get_emscripten_version.js", external=True, silent=True
243+
).strip()
244+
python_version = session.run(
245+
"node", "get_python_version.js", external=True, silent=True
246+
).strip()
243247

244248
with ExitStack() as stack:
245249
if "GITHUB_ENV" in os.environ:
@@ -252,7 +256,9 @@ def install_pyodide_emscripten(session: nox.Session):
252256
print(f"PYTHON_VERSION={python_version}", file=out)
253257

254258
if "GITHUB_ENV" not in os.environ:
255-
print("You will need to install emscripten yourself to match the target version.")
259+
print(
260+
"You will need to install emscripten yourself to match the target version."
261+
)
256262

257263

258264
@nox.session(name="test-examples-emscripten")
@@ -286,7 +292,7 @@ def test_examples_emscripten(session: nox.Session):
286292
pointer_width=32
287293
""")
288294

289-
emscripten_version_joined = emscripten_version.replace('.', '_')
295+
emscripten_version_joined = emscripten_version.replace(".", "_")
290296

291297
for example in test_crates:
292298
env = os.environ.copy()

0 commit comments

Comments
 (0)