File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -420,11 +420,14 @@ def references(
420
420
jedi_script = jedi_utils .script (server .project , document )
421
421
jedi_lines = jedi_utils .line_column (params .position )
422
422
names = jedi_script .get_references (* jedi_lines )
423
- ignore_folders = server .initialization_options .workspace .symbols .ignore_folders
423
+ ignore_folders = (
424
+ server .initialization_options .workspace .symbols .ignore_folders
425
+ )
424
426
locations = [
425
427
location
426
428
for location in (jedi_utils .lsp_location (name ) for name in names )
427
- if location is not None and not _ignore_folder (location , ignore_folders )
429
+ if location is not None
430
+ and not _ignore_folder (location , ignore_folders )
428
431
]
429
432
return locations if locations else None
430
433
You can’t perform that action at this time.
0 commit comments