Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
klebster2 committed Nov 19, 2024
1 parent 4a366ee commit 423a288
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions python/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,12 +480,8 @@ def test_normalize_word():
def test_empty_input():
"""Test handling of empty input."""
test_completer = WordNetCompleter(wordnet_mock()) # type: ignore
assert (
test_completer.get_completions("") == []
) # pylint: disable=use-implicit-booleaness-not-comparison
assert (
test_completer.get_completions("a") == []
) # pylint: disable=use-implicit-booleaness-not-comparison
assert not test_completer.get_completions("")
assert not test_completer.get_completions("a")

def test_basic_completion(wordnet_mock): # pylint: disable=redefined-outer-name
"""Test basic completion functionality."""
Expand Down

0 comments on commit 423a288

Please sign in to comment.