File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -420,14 +420,11 @@ 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 = (
424
- server .initialization_options .workspace .symbols .ignore_folders
425
- )
423
+ ignore_folders = server .initialization_options .workspace .symbols .ignore_folders
426
424
locations = [
427
425
location
428
426
for location in (jedi_utils .lsp_location (name ) for name in names )
429
- if location is not None
430
- and not _ignore_folder (location , ignore_folders )
427
+ if location is not None and not _ignore_folder (location , ignore_folders )
431
428
]
432
429
return locations if locations else None
433
430
You can’t perform that action at this time.
0 commit comments