Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 31, 2024
1 parent 7976a4a commit b11cbdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nbconvert/filters/markdown_mistune.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def import_plugin(name: str) -> "MarkdownPlugin": # type: ignore[misc]
try:
from mistune.plugins import Plugin
except ImportError:

class Plugin(Protocol):
def __call__(self, markdown: "Markdown") -> None: ...

Expand Down

0 comments on commit b11cbdb

Please sign in to comment.