Skip to content

Commit 4c3a34d

Browse files
authored
‼️ Remove unused silent arg in ParserBlock.tokenize (#284)
1 parent 90b367d commit 4c3a34d

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.readthedocs.yml

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ python:
77
path: .
88
extra_requirements:
99
- linkify
10-
- plugins
1110
- rtd
1211

1312
sphinx:

markdown_it/parser_block.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ def __init__(self) -> None:
5555
for name, rule, alt in _rules:
5656
self.ruler.push(name, rule, {"alt": alt})
5757

58-
def tokenize(
59-
self, state: StateBlock, startLine: int, endLine: int, silent: bool = False
60-
) -> None:
58+
def tokenize(self, state: StateBlock, startLine: int, endLine: int) -> None:
6159
"""Generate tokens for input range."""
6260
rules = self.ruler.getRules("")
6361
line = startLine

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ compare = [
4545
linkify = ["linkify-it-py>=1,<3"]
4646
plugins = ["mdit-py-plugins"]
4747
rtd = [
48-
"attrs",
48+
"mdit-py-plugins @ git+https://github.com/executablebooks/mdit-py-plugins@master",
4949
"myst-parser",
5050
"pyyaml",
5151
"sphinx",

0 commit comments

Comments
 (0)