Skip to content

Commit

Permalink
Fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Dec 29, 2022
1 parent 66339d1 commit 70ead6b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pylsp/plugins/hover.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ def pylsp_hover(config, document, position):

# Find first exact matching signature
signature = next(
(
x.to_string() for x in definition.get_signatures()
if (x.name == word and x.type not in ["module"])
),
(x.to_string() for x in definition.get_signatures()
if (x.name == word and x.type not in ["module"])),
''
)

Expand Down

0 comments on commit 70ead6b

Please sign in to comment.