Skip to content

Commit fe0ae53

Browse files
committed
Remove default argument in hookimpl overshadowing the runtime value,
see: pytest-dev/pluggy#442 (comment)
1 parent 6c168d0 commit fe0ae53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pylsp/plugins/references.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
@hookimpl
11-
def pylsp_references(document, position, exclude_declaration=False):
11+
def pylsp_references(document, position, exclude_declaration):
1212
code_position = _utils.position_to_jedi_linecolumn(document, position)
1313
usages = document.jedi_script().get_references(**code_position)
1414

0 commit comments

Comments
 (0)