diff --git a/jekyllnb/exporter.py b/jekyllnb/exporter.py index 92c6fb5..0c6c23a 100644 --- a/jekyllnb/exporter.py +++ b/jekyllnb/exporter.py @@ -10,7 +10,7 @@ class JekyllExporter(MarkdownExporter): """Exporter to write Markdown with Jekyll metadata""" - resources: Dict[str, Any] = {} + resources = {} # type: Dict[str, Any] def from_filename(self, filename, resources=None, **kwargs): """Convert notebook from a file diff --git a/jekyllnb/jekyllnb.py b/jekyllnb/jekyllnb.py index d585d92..039d5f1 100644 --- a/jekyllnb/jekyllnb.py +++ b/jekyllnb/jekyllnb.py @@ -7,7 +7,7 @@ from .__version__ import __version__ -JEKYLLNB_ALIASES: Dict[str, str] = {} +JEKYLLNB_ALIASES = {} # type: Dict[str, str] JEKYLLNB_ALIASES.update(nbconvert_aliases) JEKYLLNB_ALIASES.update( { @@ -17,7 +17,7 @@ } ) -JEKYLLNB_FLAGS: Dict[str, Sequence[Any]] = {} +JEKYLLNB_FLAGS = {} # type: Dict[str, Sequence[Any]] JEKYLLNB_FLAGS.update(nbconvert_flags) JEKYLLNB_FLAGS.update( {