File tree Expand file tree Collapse file tree 3 files changed +360
-311
lines changed
Expand file tree Collapse file tree 3 files changed +360
-311
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ repos:
1919 - id : sort-simple-yaml
2020 files : .pre-commit-config.yaml
2121 - repo : https://github.com/psf/black-pre-commit-mirror
22- rev : 25.12 .0
22+ rev : 26.1 .0
2323 hooks :
2424 - id : black
2525 - repo : https://github.com/astral-sh/ruff-pre-commit
26- rev : v0.14.10
26+ rev : v0.14.14
2727 hooks :
2828 - id : ruff-check
2929 types : [file]
@@ -40,11 +40,11 @@ repos:
4040 additional_dependencies :
4141 - tomli
4242 - repo : https://github.com/adhtruong/mirrors-typos
43- rev : v1.41.0
43+ rev : v1.42.3
4444 hooks :
4545 - id : typos
4646 - repo : https://github.com/woodruffw/zizmor-pre-commit
47- rev : v1.19 .0
47+ rev : v1.22 .0
4848 hooks :
4949 - id : zizmor
5050 - repo : local
Original file line number Diff line number Diff line change @@ -124,12 +124,9 @@ def test_wrap_tag(
124124
125125
126126def test_wrap_comment () -> None :
127- assert (
128- htmlgen .wrap_comment ("this is comment" )
129- == """<!--
127+ assert htmlgen .wrap_comment ("this is comment" ) == """<!--
130128this is comment
131129-->"""
132- )
133130
134131
135132def test_wrap_comment_inline () -> None :
@@ -191,12 +188,9 @@ def test_template_no_tag() -> None:
191188
192189
193190def test_contain_in_box_none () -> None :
194- assert (
195- htmlgen .contain_in_box ("inside woo" )
196- == """<div class="box">
191+ assert htmlgen .contain_in_box ("inside woo" ) == """<div class="box">
197192 inside woo
198193</div>"""
199- )
200194
201195
202196def test_contain_in_box_named () -> None :
@@ -340,8 +334,7 @@ def test_input_field_exception() -> None:
340334
341335def test_bullet_list () -> None :
342336 assert (
343- htmlgen .bullet_list (["one" , "two" ], flag = "bean" )
344- == """<ul flag="bean">
337+ htmlgen .bullet_list (["one" , "two" ], flag = "bean" ) == """<ul flag="bean">
345338 <li>one</li>
346339 <li>two</li>
347340</ul>"""
You can’t perform that action at this time.
0 commit comments