Skip to content

Commit 91cb2f1

Browse files
committed
Black format code
1 parent 8c89c0d commit 91cb2f1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

jupyterlite_sphinx/jupyterlite_sphinx.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,9 @@ def run(self):
522522
] = notebook_unique_name
523523
# Copy the Notebook for NotebookLite to find
524524
os.makedirs(notebooks_dir, exist_ok=True)
525-
with open(notebooks_dir / Path(notebook_unique_name), "w", encoding="utf-8") as f:
525+
with open(
526+
notebooks_dir / Path(notebook_unique_name), "w", encoding="utf-8"
527+
) as f:
526528
# nbf.write incorrectly formats multiline arrays in output.
527529
json.dump(nb, f, indent=4, ensure_ascii=False)
528530

@@ -655,9 +657,9 @@ def jupyterlite_build(app: Sphinx, error):
655657

656658
jupyterlite_dir = str(app.env.config.jupyterlite_dir)
657659

658-
jupyterlite_build_command_options: Dict[str, Any] = (
659-
app.env.config.jupyterlite_build_command_options
660-
)
660+
jupyterlite_build_command_options: Dict[
661+
str, Any
662+
] = app.env.config.jupyterlite_build_command_options
661663

662664
config = []
663665
if jupyterlite_config:

0 commit comments

Comments
 (0)