Skip to content

Commit e4a5d59

Browse files
committed
Address flake 8 lints
1 parent 5f972a1 commit e4a5d59

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

plugins/syntax_dev/completions.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,10 @@ def match_selector(selector, offset=0):
247247
"meta.expect-context-list-or-content | meta.context-list-or-content",
248248
-1,
249249
):
250-
result = ((self._complete_keyword(prefix, locations) or [])
251-
+ self._complete_context(prefix, locations))
250+
result = (
251+
(self._complete_keyword(prefix, locations) or [])
252+
+ self._complete_context(prefix, locations)
253+
)
252254

253255
# Auto-completion for include values using the 'contexts' keys
254256
elif match_selector(
@@ -271,7 +273,7 @@ def match_selector(selector, offset=0):
271273
else:
272274
# Standard completions for unmatched regions
273275
result = self._complete_keyword(prefix, locations)
274-
276+
275277
return result
276278

277279
def _line_prefix(self, point):

0 commit comments

Comments
 (0)