Skip to content

Commit 2ee5963

Browse files
committed
reformat
1 parent 2d523b3 commit 2ee5963

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/plugins/test_hover.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ def test_hover_signature_formatting(workspace) -> None:
107107
contents = result["contents"]
108108
if isinstance(contents, list):
109109
assert len(contents) == 2
110-
assert contents[0] == {"language": "python", "value": "main(a: float, b: float)"}
110+
assert contents[0] == {
111+
"language": "python",
112+
"value": "main(a: float, b: float)",
113+
}
111114
assert "hello world" in contents[1]
112115
else:
113116
assert isinstance(contents, dict) and "value" in contents
@@ -126,7 +129,10 @@ def test_hover_signature_formatting_opt_out(workspace) -> None:
126129
contents = result["contents"]
127130
if isinstance(contents, list):
128131
assert len(contents) == 2
129-
assert contents[0] == {"language": "python", "value": "main(a: float, b: float)"}
132+
assert contents[0] == {
133+
"language": "python",
134+
"value": "main(a: float, b: float)",
135+
}
130136
assert "hello world" in contents[1]
131137
else:
132138
assert isinstance(contents, dict) and "value" in contents

0 commit comments

Comments
 (0)