Skip to content

Commit

Permalink
🔧 Export plugins explicitly with __all__ (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
llimllib authored Jun 15, 2023
1 parent 44c8e1c commit ba0c31e
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 11 deletions.
4 changes: 3 additions & 1 deletion mdit_py_plugins/admon/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import admon_plugin # noqa: F401
from .index import admon_plugin

__all__ = ("admon_plugin",)
4 changes: 3 additions & 1 deletion mdit_py_plugins/anchors/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import anchors_plugin # noqa F401
from .index import anchors_plugin

__all__ = ("anchors_plugin",)
4 changes: 3 additions & 1 deletion mdit_py_plugins/attrs/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import attrs_block_plugin, attrs_plugin # noqa: F401
from .index import attrs_block_plugin, attrs_plugin

__all__ = ("attrs_block_plugin", "attrs_plugin")
4 changes: 3 additions & 1 deletion mdit_py_plugins/container/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import container_plugin # noqa F401
from .index import container_plugin

__all__ = ("container_plugin",)
4 changes: 3 additions & 1 deletion mdit_py_plugins/deflist/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import deflist_plugin # noqa F401
from .index import deflist_plugin

__all__ = ("deflist_plugin",)
4 changes: 3 additions & 1 deletion mdit_py_plugins/dollarmath/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import dollarmath_plugin # noqa F401
from .index import dollarmath_plugin

__all__ = ("dollarmath_plugin",)
4 changes: 3 additions & 1 deletion mdit_py_plugins/footnote/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import footnote_plugin # noqa: F401
from .index import footnote_plugin

__all__ = ("footnote_plugin",)
4 changes: 3 additions & 1 deletion mdit_py_plugins/front_matter/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import front_matter_plugin # noqa: F401
from .index import front_matter_plugin

__all__ = ("front_matter_plugin",)
4 changes: 3 additions & 1 deletion mdit_py_plugins/myst_blocks/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import myst_block_plugin # noqa: F401
from .index import myst_block_plugin

__all__ = ("myst_block_plugin",)
4 changes: 3 additions & 1 deletion mdit_py_plugins/myst_role/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import myst_role_plugin # noqa: F401
from .index import myst_role_plugin

__all__ = ("myst_role_plugin",)
4 changes: 3 additions & 1 deletion mdit_py_plugins/texmath/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .index import texmath_plugin # noqa F401
from .index import texmath_plugin

__all__ = ("texmath_plugin",)

0 comments on commit ba0c31e

Please sign in to comment.