Skip to content

Commit 936f121

Browse files
committed
private function
1 parent 2668de3 commit 936f121

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyls/plugins/importmagic_lint.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ def pyls_code_actions(config, document, context):
130130
# Skip low score results
131131
continue
132132

133-
actions.append(generate_add_action(document, index, module, variable))
133+
actions.append(_generate_add_action(document, index, module, variable))
134134

135135
return actions
136136

137137

138-
def generate_add_action(document, index, module, variable):
138+
def _generate_add_action(document, index, module, variable):
139139
# Generate the patch we would need to apply
140140
imports = importmagic.Imports(index, document.source)
141141
if variable:

0 commit comments

Comments
 (0)