Skip to content

Commit d95e0b1

Browse files
Bump dependencies from commit 91d32f (#129)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 91d32f2 commit d95e0b1

File tree

3 files changed

+360
-311
lines changed

3 files changed

+360
-311
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

tests/test_htmlgen.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,9 @@ def test_wrap_tag(
124124

125125

126126
def test_wrap_comment() -> None:
127-
assert (
128-
htmlgen.wrap_comment("this is comment")
129-
== """<!--
127+
assert htmlgen.wrap_comment("this is comment") == """<!--
130128
this is comment
131129
-->"""
132-
)
133130

134131

135132
def test_wrap_comment_inline() -> None:
@@ -191,12 +188,9 @@ def test_template_no_tag() -> None:
191188

192189

193190
def 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

202196
def test_contain_in_box_named() -> None:
@@ -340,8 +334,7 @@ def test_input_field_exception() -> None:
340334

341335
def 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>"""

0 commit comments

Comments
 (0)