From 9be8d86678ce346bc58b4e91a28773d4a018ab9e Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Fri, 2 Jun 2023 23:16:36 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=E2=80=BC=EF=B8=8F=20Remove=20unused=20arg?= =?UTF-8?q?=20in=20`ParserBlock.tokenize`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- markdown_it/parser_block.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/markdown_it/parser_block.py b/markdown_it/parser_block.py index 32749127..72360f9b 100644 --- a/markdown_it/parser_block.py +++ b/markdown_it/parser_block.py @@ -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 From 1b6007a065a17965ac4ce8fad2488e2f95decaf5 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Fri, 2 Jun 2023 23:35:41 +0200 Subject: [PATCH 2/2] fix docs --- .readthedocs.yml | 1 - pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 1d750008..611695db 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,7 +7,6 @@ python: path: . extra_requirements: - linkify - - plugins - rtd sphinx: diff --git a/pyproject.toml b/pyproject.toml index b0d64fb1..ea7cd036 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",