Skip to content

Commit ba0c31e

Browse files
authored
🔧 Export plugins explicitly with __all__ (#91)
1 parent 44c8e1c commit ba0c31e

File tree

11 files changed

+33
-11
lines changed

11 files changed

+33
-11
lines changed

‎mdit_py_plugins/admon/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import admon_plugin # noqa: F401
1+
from .index import admon_plugin
2+
3+
__all__ = ("admon_plugin",)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import anchors_plugin # noqa F401
1+
from .index import anchors_plugin
2+
3+
__all__ = ("anchors_plugin",)

‎mdit_py_plugins/attrs/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import attrs_block_plugin, attrs_plugin # noqa: F401
1+
from .index import attrs_block_plugin, attrs_plugin
2+
3+
__all__ = ("attrs_block_plugin", "attrs_plugin")
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import container_plugin # noqa F401
1+
from .index import container_plugin
2+
3+
__all__ = ("container_plugin",)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import deflist_plugin # noqa F401
1+
from .index import deflist_plugin
2+
3+
__all__ = ("deflist_plugin",)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import dollarmath_plugin # noqa F401
1+
from .index import dollarmath_plugin
2+
3+
__all__ = ("dollarmath_plugin",)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import footnote_plugin # noqa: F401
1+
from .index import footnote_plugin
2+
3+
__all__ = ("footnote_plugin",)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import front_matter_plugin # noqa: F401
1+
from .index import front_matter_plugin
2+
3+
__all__ = ("front_matter_plugin",)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import myst_block_plugin # noqa: F401
1+
from .index import myst_block_plugin
2+
3+
__all__ = ("myst_block_plugin",)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import myst_role_plugin # noqa: F401
1+
from .index import myst_role_plugin
2+
3+
__all__ = ("myst_role_plugin",)
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from .index import texmath_plugin # noqa F401
1+
from .index import texmath_plugin
2+
3+
__all__ = ("texmath_plugin",)

0 commit comments

Comments
 (0)