From 862d8004c59a0485c234b364f1aa1cbdcc8a90f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Fredrik=20Ki=C3=A6r?= Date: Wed, 4 May 2022 12:30:00 +0200 Subject: [PATCH] wip --- webviz_config/generic_plugins/_markdown.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webviz_config/generic_plugins/_markdown.py b/webviz_config/generic_plugins/_markdown.py index d5f539d2..939968cb 100644 --- a/webviz_config/generic_plugins/_markdown.py +++ b/webviz_config/generic_plugins/_markdown.py @@ -167,7 +167,7 @@ def __init__(self, markdown_file: Path): self.markdown_file = markdown_file try: - self.html = bleach.clean( + self.html = bleach.clean( # pylint: disable=unexpected-keyword-arg markdown.markdown( get_path(self.markdown_file).read_text(), extensions=[ @@ -179,7 +179,7 @@ def __init__(self, markdown_file: Path): ), tags=Markdown.ALLOWED_TAGS, attributes=Markdown.ALLOWED_ATTRIBUTES, - styles=Markdown.ALLOWED_STYLES, # pylint: disable=unexpected-keyword-arg + styles=Markdown.ALLOWED_STYLES, ) except TypeError: # styles not present in bleach >= 5. We can remove