Skip to content

Commit 88f3eaa

Browse files
committed
fix
1 parent 5ac27ac commit 88f3eaa

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

markdown_it/token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def __getattr__(self, name):
173173
return getattr(self.opening, name)
174174

175175
def attrGet(self, name: str) -> None | str | int | float:
176-
""" Get the value of attribute `name`, or null if it does not exist."""
176+
"""Get the value of attribute `name`, or null if it does not exist."""
177177
return self.opening.attrGet(name)
178178

179179

markdown_it/tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def _attribute_token(self) -> Token:
276276

277277
@property
278278
def tag(self) -> str:
279-
"""html tag name, e.g. \"p\""""
279+
"""html tag name, e.g. \"p\" """
280280
return self._attribute_token().tag
281281

282282
@property

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,12 @@ strict_equality = true
8989
implicit_reexport = false
9090

9191
[[tool.mypy.overrides]]
92-
module = ["tests.test_plugins.*"]
92+
module = ["tests.test_plugins.*", "markdown.*"]
9393
ignore_errors = true
9494

95+
[[tool.mypy.overrides]]
96+
module = [ "markdown.*"]
97+
ignore_missing_imports = true
98+
9599
[tool.pytest.ini_options]
96100
xfail_strict = true

0 commit comments

Comments
 (0)