Skip to content

Commit 869cd2a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5a2cb46 commit 869cd2a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

nbconvert/exporters/webhtml.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
__all__ = ("WebHTMLExporter",)
2222

23+
2324
class WebHTMLExporter(HTMLExporter):
2425
"""Writer designed to write to HTML files after rendering in a browser.
2526
@@ -69,7 +70,7 @@ def _template_name_default(self):
6970
""",
7071
).tag(config=True)
7172

72-
def run_playwright(self, html, _postprocess = None):
73+
def run_playwright(self, html, _postprocess=None):
7374
"""Run playwright."""
7475

7576
async def main(temp_file):

nbconvert/nbconvertapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def validate(self, obj, value):
153153
},
154154
"WebPDFExporter": {
155155
"allow_chromium_download": True,
156-
}
156+
},
157157
},
158158
"""Whether to allow downloading chromium if no suitable version is found on the system.""",
159159
),
@@ -164,7 +164,7 @@ def validate(self, obj, value):
164164
},
165165
"WebPDFExporter": {
166166
"disable_sandbox": True,
167-
}
167+
},
168168
},
169169
"""Disable chromium security sandbox when converting to PDF..""",
170170
),

0 commit comments

Comments
 (0)