Skip to content

Commit

Permalink
‼️ Remove unused silent arg in ParserBlock.tokenize (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Jun 2, 2023
1 parent 90b367d commit 4c3a34d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .readthedocs.yml
Expand Up @@ -7,7 +7,6 @@ python:
path: .
extra_requirements:
- linkify
- plugins
- rtd

sphinx:
Expand Down
4 changes: 1 addition & 3 deletions markdown_it/parser_block.py
Expand Up @@ -55,9 +55,7 @@ def __init__(self) -> None:
for name, rule, alt in _rules:
self.ruler.push(name, rule, {"alt": alt})

def tokenize(
self, state: StateBlock, startLine: int, endLine: int, silent: bool = False
) -> None:
def tokenize(self, state: StateBlock, startLine: int, endLine: int) -> None:
"""Generate tokens for input range."""
rules = self.ruler.getRules("")
line = startLine
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -45,7 +45,7 @@ compare = [
linkify = ["linkify-it-py>=1,<3"]
plugins = ["mdit-py-plugins"]
rtd = [
"attrs",
"mdit-py-plugins @ git+https://github.com/executablebooks/mdit-py-plugins@master",
"myst-parser",
"pyyaml",
"sphinx",
Expand Down

0 comments on commit 4c3a34d

Please sign in to comment.