From 093a0a2ff7d9ed56a7c2b4bb9c3ac89bde00c785 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 02:09:13 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- CHANGELOG.md | 1 + nbconvert/exporters/html.py | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dcae1836..6b1bb68b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1502,6 +1502,7 @@ raw template {%- endblock in_prompt -%} """ + exporter_attr = AttrExporter() output_attr, _ = exporter_attr.from_notebook_node(nb) assert "raw template" in output_attr diff --git a/nbconvert/exporters/html.py b/nbconvert/exporters/html.py index 00b23f363..00b86e1f0 100644 --- a/nbconvert/exporters/html.py +++ b/nbconvert/exporters/html.py @@ -174,9 +174,7 @@ def _template_name_default(self): skip_svg_encoding = Bool( False, - help=( - "Whether the svg to image data attribute encoding should occur" - ), + help=("Whether the svg to image data attribute encoding should occur"), ).tag(config=True) embed_images = Bool(