From e4a5d59a3dd84b111dd9ba1d4682ecc11f8f6399 Mon Sep 17 00:00:00 2001 From: FichteFoll Date: Sun, 24 Nov 2024 22:46:26 +0100 Subject: [PATCH] Address flake 8 lints --- plugins/syntax_dev/completions.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/syntax_dev/completions.py b/plugins/syntax_dev/completions.py index d55ec800..cd79d53b 100644 --- a/plugins/syntax_dev/completions.py +++ b/plugins/syntax_dev/completions.py @@ -247,8 +247,10 @@ def match_selector(selector, offset=0): "meta.expect-context-list-or-content | meta.context-list-or-content", -1, ): - result = ((self._complete_keyword(prefix, locations) or []) - + self._complete_context(prefix, locations)) + result = ( + (self._complete_keyword(prefix, locations) or []) + + self._complete_context(prefix, locations) + ) # Auto-completion for include values using the 'contexts' keys elif match_selector( @@ -271,7 +273,7 @@ def match_selector(selector, offset=0): else: # Standard completions for unmatched regions result = self._complete_keyword(prefix, locations) - + return result def _line_prefix(self, point):