File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ repos:
2020 - id : trailing-whitespace
2121
2222 - repo : https://github.com/astral-sh/ruff-pre-commit
23- rev : v0.12.8
23+ rev : v0.15.12
2424 hooks :
2525 - id : ruff
2626 args : [--fix]
2727 - id : ruff-format
2828
2929 - repo : https://github.com/pre-commit/mirrors-mypy
30- rev : v1.17.1
30+ rev : v1.20.2
3131 hooks :
3232 - id : mypy
3333 additional_dependencies : [markdown-it-py~=3.0]
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ def _attr_block_rule(
209209 return False
210210
211211 try :
212- new_pos , attrs = parse (state .src [pos :maximum ])
212+ _new_pos , attrs = parse (state .src [pos :maximum ])
213213 except ParseError :
214214 return False
215215
Original file line number Diff line number Diff line change @@ -78,7 +78,9 @@ def dollarmath_plugin(
7878 _label_renderer : Callable [[str ], str ]
7979 if label_renderer is None :
8080 _label_renderer = ( # noqa: E731
81- lambda label : f'<a href="#{ label } " class="mathlabel" title="Permalink to this equation">¶</a>'
81+ lambda label : (
82+ f'<a href="#{ label } " class="mathlabel" title="Permalink to this equation">¶</a>'
83+ )
8284 )
8385 else :
8486 _label_renderer = label_renderer
You can’t perform that action at this time.
0 commit comments