Skip to content

Commit de680fb

Browse files
committed
chore: mypy remove useless ignore comment
1 parent c9f1a54 commit de680fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mistune/list_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def parse_list(block: "BlockParser", m: Match[str], state: "BlockState") -> int:
101101
if end_pos:
102102
index = token.pop("_tok_index")
103103
state.tokens.insert(index, token)
104-
return end_pos # type: ignore[no-any-return]
104+
return end_pos
105105

106106
state.append_token(token)
107107
return state.cursor

0 commit comments

Comments
 (0)