Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
馃憣 IMPROVE: Use __all__ to signal re-exports (#120)
Co-authored-by: Taneli Hukkinen <hukkinj1@users.noreply.github.com> Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
- Loading branch information
1 parent
22a65b3
commit 73763b3
Showing
8 changed files
with
95 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .main import MarkdownIt # noqa: F401 | ||
|
||
|
||
__all__ = ("MarkdownIt",) | ||
__version__ = "1.1.0" | ||
|
||
from .main import MarkdownIt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
"""Functions for parsing Links | ||
""" | ||
from .parse_link_label import parseLinkLabel # noqa: F401 | ||
from .parse_link_destination import parseLinkDestination # noqa: F401 | ||
from .parse_link_title import parseLinkTitle # noqa: F401 | ||
__all__ = ("parseLinkLabel", "parseLinkDestination", "parseLinkTitle") | ||
from .parse_link_label import parseLinkLabel | ||
from .parse_link_destination import parseLinkDestination | ||
from .parse_link_title import parseLinkTitle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,27 @@ | ||
from .state_block import StateBlock # noqa: F401 | ||
from .paragraph import paragraph # noqa: F401 | ||
from .heading import heading # noqa: F401 | ||
from .lheading import lheading # noqa: F401 | ||
from .code import code # noqa: F401 | ||
from .fence import fence # noqa: F401 | ||
from .hr import hr # noqa: F401 | ||
from .list import list_block # noqa: F401 | ||
from .reference import reference # noqa: F401 | ||
from .blockquote import blockquote # noqa: F401 | ||
from .html_block import html_block # noqa: F401 | ||
from .table import table # noqa: F401 | ||
__all__ = ( | ||
"StateBlock", | ||
"paragraph", | ||
"heading", | ||
"lheading", | ||
"code", | ||
"fence", | ||
"hr", | ||
"list_block", | ||
"reference", | ||
"blockquote", | ||
"html_block", | ||
"table", | ||
) | ||
|
||
from .state_block import StateBlock | ||
from .paragraph import paragraph | ||
from .heading import heading | ||
from .lheading import lheading | ||
from .code import code | ||
from .fence import fence | ||
from .hr import hr | ||
from .list import list_block | ||
from .reference import reference | ||
from .blockquote import blockquote | ||
from .html_block import html_block | ||
from .table import table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
from .state_core import StateCore # noqa: F401 | ||
from .normalize import normalize # noqa: F401 | ||
from .block import block # noqa: F401 | ||
from .inline import inline # noqa: F401 | ||
from .replacements import replace # noqa: F401 | ||
from .smartquotes import smartquotes # noqa: F401 | ||
from .linkify import linkify # noqa: F401 | ||
__all__ = ( | ||
"StateCore", | ||
"normalize", | ||
"block", | ||
"inline", | ||
"replace", | ||
"smartquotes", | ||
"linkify", | ||
) | ||
|
||
from .state_core import StateCore | ||
from .normalize import normalize | ||
from .block import block | ||
from .inline import inline | ||
from .replacements import replace | ||
from .smartquotes import smartquotes | ||
from .linkify import linkify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,30 @@ | ||
from .state_inline import StateInline # noqa: F401 | ||
from .text import text # noqa: F401 | ||
from .text_collapse import text_collapse # noqa: F401 | ||
from .balance_pairs import link_pairs # noqa: F401 | ||
from .escape import escape # noqa: F401 | ||
from .newline import newline # noqa: F401 | ||
from .backticks import backtick # noqa: F401 | ||
from . import emphasis # noqa: F401 | ||
from .image import image # noqa: F401 | ||
from .link import link # noqa: F401 | ||
from .autolink import autolink # noqa: F401 | ||
from .entity import entity # noqa: F401 | ||
from .html_inline import html_inline # noqa: F401 | ||
from . import strikethrough # noqa: F401 | ||
__all__ = ( | ||
"StateInline", | ||
"text", | ||
"text_collapse", | ||
"link_pairs", | ||
"escape", | ||
"newline", | ||
"backtick", | ||
"emphasis", | ||
"image", | ||
"link", | ||
"autolink", | ||
"entity", | ||
"html_inline", | ||
"strikethrough", | ||
) | ||
from .state_inline import StateInline | ||
from .text import text | ||
from .text_collapse import text_collapse | ||
from .balance_pairs import link_pairs | ||
from .escape import escape | ||
from .newline import newline | ||
from .backticks import backtick | ||
from . import emphasis | ||
from .image import image | ||
from .link import link | ||
from .autolink import autolink | ||
from .entity import entity | ||
from .html_inline import html_inline | ||
from . import strikethrough |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters