File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments