Skip to content

Commit

Permalink
More accurate type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkinj1 committed Nov 4, 2020
1 parent 6c2021e commit 8143f7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion markdown_it/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(

self.utils = utils
self.helpers = helpers
self.options: dict = {}
self.options: Dict[str, Any] = {}
self.configure(config)

# var LinkifyIt = require('linkify-it')
Expand Down
2 changes: 1 addition & 1 deletion markdown_it/rules_inline/state_inline.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self, src: str, md, env, outTokens: List[Token]):
self.delimiters: List[Delimiter] = []

# Stack of delimiter lists for upper level tags
self._prev_delimiters: list = []
self._prev_delimiters: List[List[Delimiter]] = []

def __repr__(self):
return (
Expand Down

0 comments on commit 8143f7a

Please sign in to comment.