Skip to content

Commit 4bf963d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d55af0d commit 4bf963d

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

markdown_it/helpers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Functions for parsing Links"""
22

3-
__all__ = ("parseLinkLabel", "parseLinkDestination", "parseLinkTitle")
3+
__all__ = ("parseLinkDestination", "parseLinkLabel", "parseLinkTitle")
44
from .parse_link_destination import parseLinkDestination
55
from .parse_link_label import parseLinkLabel
66
from .parse_link_title import parseLinkTitle

markdown_it/helpers/parse_link_destination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
class _Result:
9-
__slots__ = ("ok", "pos", "lines", "str")
9+
__slots__ = ("lines", "ok", "pos", "str")
1010

1111
def __init__(self) -> None:
1212
self.ok = False

markdown_it/helpers/parse_link_title.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
class _Result:
7-
__slots__ = ("ok", "pos", "lines", "str")
7+
__slots__ = ("lines", "ok", "pos", "str")
88

99
def __init__(self) -> None:
1010
self.ok = False

markdown_it/presets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__all__ = ("commonmark", "default", "zero", "js_default", "gfm_like")
1+
__all__ = ("commonmark", "default", "gfm_like", "js_default", "zero")
22

33
from ..utils import PresetType
44
from . import commonmark, default, zero

markdown_it/rules_block/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
__all__ = (
22
"StateBlock",
3-
"paragraph",
4-
"heading",
5-
"lheading",
3+
"blockquote",
64
"code",
75
"fence",
6+
"heading",
87
"hr",
8+
"html_block",
9+
"lheading",
910
"list_block",
11+
"paragraph",
1012
"reference",
11-
"blockquote",
12-
"html_block",
1313
"table",
1414
)
1515

markdown_it/rules_core/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
__all__ = (
22
"StateCore",
3-
"normalize",
43
"block",
54
"inline",
5+
"linkify",
6+
"normalize",
67
"replace",
78
"smartquotes",
8-
"linkify",
99
"text_join",
1010
)
1111

markdown_it/rules_inline/__init__.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
__all__ = (
22
"StateInline",
3-
"text",
4-
"fragments_join",
5-
"link_pairs",
6-
"linkify",
7-
"escape",
8-
"newline",
3+
"autolink",
94
"backtick",
105
"emphasis",
11-
"image",
12-
"link",
13-
"autolink",
146
"entity",
7+
"escape",
8+
"fragments_join",
159
"html_inline",
10+
"image",
11+
"link",
12+
"link_pairs",
13+
"linkify",
14+
"newline",
1615
"strikethrough",
16+
"text",
1717
)
1818
from . import emphasis, strikethrough
1919
from .autolink import autolink

0 commit comments

Comments
 (0)