Skip to content

Commit

Permalink
Remove default argument in hookimpl overshadowing the runtime value,
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Sep 10, 2023
1 parent 6c168d0 commit fe0ae53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylsp/plugins/references.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


@hookimpl
def pylsp_references(document, position, exclude_declaration=False):
def pylsp_references(document, position, exclude_declaration):
code_position = _utils.position_to_jedi_linecolumn(document, position)
usages = document.jedi_script().get_references(**code_position)

Expand Down

0 comments on commit fe0ae53

Please sign in to comment.