Skip to content

Commit 546a049

Browse files
authored
Fix code style
1 parent 3f95bd0 commit 546a049

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

test/plugins/test_autoimport.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,11 @@ def make_mypy_context(module_name, line, character_start, character_end):
352352
return {
353353
"diagnostics": [
354354
{
355-
'range': {
356-
'start': {'line': line, 'character': character_start},
357-
'end': {'line': line, 'character': character_end}
355+
"range": {
356+
"start": {"line": line, "character": character_start},
357+
"end": {"line": line, "character": character_end},
358358
},
359-
'code': 'name-defined'
359+
"code": "name-defined",
360360
}
361361
]
362362
}
@@ -407,7 +407,9 @@ def test_autoimport_code_actions_and_completions_based_on_mypy_error(
407407
wait_for_condition(lambda: not cache.is_blocked())
408408

409409
# 1.
410-
quick_fixes = server.code_actions("cell_1_uri", {}, make_mypy_context("os", 0, 0, 2))
410+
quick_fixes = server.code_actions(
411+
"cell_1_uri", {}, make_mypy_context("os", 0, 0, 2)
412+
)
411413
assert any(s for s in quick_fixes if contains_autoimport_quickfix(s, "os"))
412414

413415
completions = server.completions("cell_1_uri", position(0, 2)).get("items")

0 commit comments

Comments
 (0)