Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ disable =
too-many-instance-attributes,
import-error,
consider-using-f-string,
logging-fstring-interpolation

[REPORTS]

Expand Down
5 changes: 1 addition & 4 deletions pylsp/plugins/_resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ def resolve(self, completion):
sig = completion.get_signatures()
return self.callback(completion, sig)
except Exception as e: # pylint: disable=broad-except
log.warning(
'Something went wrong when resolving label for {completion}: {e}',
completion=completion, e=e
)
log.warning(f'Something went wrong when resolving label for {completion}: {e}')
return self.resolve_on_error


Expand Down