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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pylsp/plugins/references.py

Lines changed: 1 addition & 1 deletion
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)