AI Slop Code RIsk Monitor

spyder-ide/spyder

Official repository for Spyder - The Scientific Python Development Environment

35.5 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for spyder-ide/spyder, a Python project with 9,358 GitHub stars. SynthScan examined 329,608 lines of code across 2198 source files, recording 5721 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 35.5 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

35.5
Adjusted Signal
35.5
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
9.4K
Stars
Python
Language
329.6K
Lines of Code
2.2K
Files
5.7K
Pattern Hits
2026-10-12
Scan Date
0.26
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 33.0/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 2602 finding(s).

Hallucinated Dependency & Supply Chain Risk 11.7/100 · LOW

Are imports declared and package/API names verified? 433 finding(s).

Agent Over-Engineering Ratio 77.1/100 · CRITICAL

Are wrappers, guards, and repeated structures necessary? 4341 finding(s).

PR Review Velocity Impact 84.9/100 · CRITICAL

Which changes need focused human review? 5721 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 4HIGH 575MEDIUM 1915LOW 3227

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 5721 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators1753 hits · 5452 pts
SeverityFileLineSnippetContext
MEDIUMbootstrap.py3# -----------------------------------------------------------------------------COMMENT
MEDIUMbootstrap.py8# -----------------------------------------------------------------------------COMMENT
MEDIUMbootstrap.py31# =============================================================================COMMENT
MEDIUMbootstrap.py33# =============================================================================COMMENT
MEDIUMbootstrap.py44# =============================================================================COMMENT
MEDIUMbootstrap.py46# =============================================================================COMMENT
MEDIUMbootstrap.py78# =============================================================================COMMENT
MEDIUMbootstrap.py80# =============================================================================COMMENT
MEDIUMbootstrap.py133# =============================================================================COMMENT
MEDIUMbootstrap.py135# =============================================================================COMMENT
MEDIUMbootstrap.py172# =============================================================================COMMENT
MEDIUMbootstrap.py174# =============================================================================COMMENT
MEDIUMbootstrap.py191# =============================================================================COMMENT
MEDIUMbootstrap.py193# =============================================================================COMMENT
MEDIUM⚡setup.py37# =============================================================================COMMENT
MEDIUM⚡setup.py40# =============================================================================COMMENT
MEDIUM⚡setup.py48# =============================================================================COMMENT
MEDIUM⚡setup.py50# =============================================================================COMMENT
MEDIUM⚡setup.py58# =============================================================================COMMENT
MEDIUM⚡setup.py60# =============================================================================COMMENT
MEDIUM⚡setup.py216# =============================================================================COMMENT
MEDIUM⚡setup.py218# =============================================================================COMMENT
MEDIUM⚡setup.py223#==============================================================================COMMENT
MEDIUM⚡setup.py225#==============================================================================COMMENT
MEDIUMsetup.py156# =============================================================================COMMENT
MEDIUMsetup.py158# =============================================================================COMMENT
MEDIUMsetup.py174# =============================================================================COMMENT
MEDIUMsetup.py176# =============================================================================COMMENT
MEDIUMsetup.py188# =============================================================================COMMENT
MEDIUMsetup.py190# =============================================================================COMMENT
MEDIUMsetup.py435# =============================================================================COMMENT
MEDIUMsetup.py437# =============================================================================COMMENT
MEDIUMrope_profiling/test.py2# -----------------------------------------------------------------------------COMMENT
MEDIUMrope_profiling/test.py7# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡spyder/pyplot.py2# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡spyder/pyplot.py7# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡spyder/dependencies.py22# =============================================================================COMMENT
MEDIUM⚡spyder/dependencies.py24# =============================================================================COMMENT
MEDIUM⚡spyder/dependencies.py30# =============================================================================COMMENT
MEDIUM⚡spyder/dependencies.py32# =============================================================================COMMENT
MEDIUMspyder/dependencies.py94# =============================================================================COMMENT
MEDIUMspyder/dependencies.py99# =============================================================================COMMENT
MEDIUMspyder/dependencies.py346# =============================================================================COMMENT
MEDIUMspyder/dependencies.py348# =============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py36#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py38#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py42#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py44#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py99#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py101#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py109#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py111#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py115#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py117#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py121#==============================================================================COMMENT
MEDIUM⚡spyder/app/mainwindow.py123#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py19# =============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py21# =============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py63#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py68#==============================================================================COMMENT
1693 more matches not shown…
Empty Error Handlers308 hits · 1540 pts
SeverityFileLineSnippetContext
HIGHruntests.py74except TypeError: # raised when no signals are connectedCODE
HIGHspyder/requirements.py26except Exception:CODE
HIGHspyder/app/mainwindow.py523except Exception:CODE
HIGHspyder/app/mainwindow.py591except ValueError:CODE
HIGHspyder/app/mainwindow.py696except SpyderAPIError:CODE
HIGHspyder/app/mainwindow.py1303except Exception:CODE
HIGHspyder/app/mainwindow.py202except ImportError:CODE
HIGHspyder/app/mainwindow.py503except TypeError:CODE
HIGHspyder/app/mainwindow.py641except RuntimeError:CODE
HIGHspyder/app/mainwindow.py1055except RuntimeError:CODE
HIGHspyder/app/start.py53except:CODE
HIGHspyder/app/start.py18except ValueError:CODE
HIGHspyder/app/start.py238except Exception:CODE
HIGHspyder/app/start.py290except:CODE
HIGHspyder/app/utils.py397except BaseException:CODE
HIGHspyder/app/tests/conftest.py392except AttributeError:CODE
HIGHspyder/app/tests/conftest.py311except RuntimeError:CODE
HIGHspyder/app/tests/test_mainwindow.py3717except KeyError:CODE
HIGHspyder/config/user.py328except IOError:CODE
HIGHspyder/config/user.py472except (SyntaxError, ValueError):CODE
HIGHspyder/config/user.py538except (SyntaxError, ValueError):CODE
HIGHspyder/config/utils.py109except ValueError:CODE
HIGHspyder/config/manager.py458except ValueError:CODE
HIGHspyder/config/manager.py438except cp.NoOptionError:CODE
HIGHspyder/config/manager.py162except EnvironmentError:CODE
HIGHspyder/config/manager.py430except cp.NoOptionError:CODE
HIGHspyder/config/manager.py693except Exception:CODE
HIGHspyder/config/base.py494except EnvironmentError:CODE
HIGHspyder/plugins/findinfiles/plugin.py201except AttributeError:CODE
HIGHspyder/plugins/findinfiles/widgets/main_widget.py533except UnicodeDecodeError:CODE
HIGHspyder/plugins/variableexplorer/widgets/arrayeditor.py473except AttributeError:CODE
HIGHspyder/plugins/variableexplorer/widgets/arrayeditor.py513except NameError:CODE
HIGHspyder/plugins/variableexplorer/widgets/arrayeditor.py522except NameError:CODE
HIGHspyder/plugins/variableexplorer/widgets/arrayeditor.py565except NameError:CODE
HIGHspyder/plugins/variableexplorer/widgets/arrayeditor.py1272except RuntimeError:CODE
HIGHspyder/plugins/variableexplorer/widgets/arrayeditor.py329except Exception:CODE
HIGH…lugins/variableexplorer/widgets/collectionsdelegate.py103except AttributeError:CODE
HIGH…lugins/variableexplorer/widgets/collectionsdelegate.py508except KeyError:CODE
HIGH…lugins/variableexplorer/widgets/collectionsdelegate.py517except KeyError:CODE
HIGH…lugins/variableexplorer/widgets/collectionsdelegate.py525except RuntimeError:CODE
HIGH…lugins/variableexplorer/widgets/collectionsdelegate.py578except AttributeError:CODE
HIGH…lugins/variableexplorer/widgets/collectionsdelegate.py971except KeyError:CODE
HIGH…lugins/variableexplorer/widgets/collectionsdelegate.py566except RuntimeError:CODE
HIGH…lugins/variableexplorer/widgets/collectionsdelegate.py186except Exception:CODE
HIGHspyder/plugins/variableexplorer/widgets/importwizard.py45except (ValueError, SyntaxError):CODE
HIGH…er/plugins/variableexplorer/widgets/dataframeeditor.py802except NameError:CODE
HIGH…er/plugins/variableexplorer/widgets/dataframeeditor.py811except NameError:CODE
HIGH…er/plugins/variableexplorer/widgets/dataframeeditor.py824except NameError:CODE
HIGH…r/plugins/variableexplorer/widgets/namespacebrowser.py196except TypeError:CODE
HIGH…/variableexplorer/widgets/objectexplorer/tree_model.py295except Exception:CODE
HIGHspyder/plugins/tours/widgets.py1007except Exception:CODE
HIGHspyder/plugins/pylint/main_widget.py341except (EOFError, ImportError):CODE
HIGHspyder/plugins/pylint/plugin.py192except SpyderAPIError:CODE
HIGHspyder/plugins/pythonpath/container.py209except OSError:CODE
HIGHspyder/plugins/pythonpath/container.py218except OSError:CODE
HIGHspyder/plugins/appearance/confpage.py94except ValueError:CODE
HIGHspyder/plugins/appearance/confpage.py421except ValueError:CODE
HIGHspyder/plugins/appearance/confpage.py104except Exception:CODE
HIGHspyder/plugins/appearance/confpage.py330except configparser.NoOptionError:CODE
HIGHspyder/plugins/statusbar/plugin.py162except RuntimeError:CODE
248 more matches not shown…
Hyper-Verbose Identifiers1622 hits · 1450 pts
SeverityFileLineSnippetContext
LOWconftest.py116def pytest_collection_modifyitems(config, items):CODE
LOWrope_profiling/test.py66def get_calltip_from_pyobject(pyobject,CODE
LOWspyder/app/mainwindow.py358 def show_plugin_compatibility_message(self, plugin_name, message):CODE
LOWspyder/app/mainwindow.py539 def create_plugin_conf_widget(self, plugin):CODE
LOWspyder/app/mainwindow.py628 def _prevent_freeze_when_moving_dockwidgets(self):CODE
LOWspyder/app/mainwindow.py968 def change_last_focused_widget(self, old, now):CODE
LOWspyder/app/mainwindow.py1084 def redirect_internalshell_stdio(self, state):CODE
LOWspyder/app/mainwindow.py1092 def get_initial_working_directory(self):CODE
LOWspyder/app/restart.py42def _is_pid_running_on_windows(pid):CODE
LOWspyder/app/utils.py93def set_opengl_implementation(option):CODE
LOW⚡spyder/app/tests/conftest.py278def pytest_runtest_makereport(item, call):CODE
LOWspyder/app/tests/conftest.py105def find_desired_tab_in_window(tab_name, window):CODE
LOWspyder/app/tests/conftest.py218def preferences_dialog_helper(qtbot, main_window, section):CODE
LOWspyder/app/tests/conftest.py256def get_random_dockable_plugin(main_window, exclude=None):CODE
LOWspyder/app/tests/test_mainwindow.py117def test_single_instance_and_edit_magic(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py285def test_default_plugin_actions(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py349def test_opengl_implementation(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py374def test_filter_numpy_warning(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py463def test_get_help_ipython_console_dot_notation(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py504def test_get_help_ipython_console_special_characters(CODE
LOWspyder/app/tests/test_mainwindow.py550def test_get_help_ipython_console(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py652def test_move_to_first_breakpoint(main_window, qtbot, debugcell):CODE
LOWspyder/app/tests/test_mainwindow.py1039def test_connection_to_external_kernel(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1112def test_debug_and_backend_external_kernel(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1155def test_change_types_in_varexp(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1185def test_change_cwd_ipython_console(CODE
LOWspyder/app/tests/test_mainwindow.py1372def test_open_notebooks_from_project_explorer(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py1427def test_runfile_from_project_explorer(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py1842def test_open_files_in_new_editor_window(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1866def test_close_when_file_is_changed(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1888def test_maximize_minimize_plugins(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py2108def test_c_and_n_pdb_commands(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py2355def test_plots_scroll_and_max_plots(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py2461def test_tight_layout_option_for_inline_plot(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py2573def test_plot_from_collectioneditor(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py2713def test_editorstack_open_switcher_dlg(main_window, tmpdir, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py2745def test_editorstack_open_symbolfinder_dlg(main_window, qtbot, tmpdir):STRING
LOWspyder/app/tests/test_mainwindow.py2791def test_switcher_projects_integration(main_window, pytestconfig, qtbot,STRING
LOWspyder/app/tests/test_mainwindow.py2913def test_run_static_code_analysis(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py2955def test_troubleshooting_menu_item_and_url(main_window, qtbot, monkeypatch):STRING
LOWspyder/app/tests/test_mainwindow.py2980def test_help_opens_when_show_tutorial_full(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3095def test_programmatic_custom_layouts(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3281def test_preferences_run_section_exists(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3303def test_preferences_checkboxes_not_checked_regression(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3371def test_preferences_change_font_regression(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3417def test_preferences_empty_shortcut_regression(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3476def test_preferences_shortcut_reset_regression(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3509def test_change_lsp_interpreter(qtbot, main_window):STRING
LOWspyder/app/tests/test_mainwindow.py3551def test_preferences_last_page_is_loaded(qtbot, main_window):STRING
LOWspyder/app/tests/test_mainwindow.py3722def test_runcell_leading_indent(main_window, qtbot, tmpdir):STRING
LOWspyder/app/tests/test_mainwindow.py4032def test_path_manager_updates_clients(qtbot, main_window, tmpdir):STRING
LOWspyder/app/tests/test_mainwindow.py4251def test_runcell_after_restart(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py4397def test_running_namespace_refresh(main_window, qtbot, tmpdir):STRING
LOWspyder/app/tests/test_mainwindow.py4554def test_run_unsaved_file_multiprocessing(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py4604def test_varexp_cleared_after_kernel_restart(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py4633def test_varexp_cleared_after_reset(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py4799def test_ordering_lsp_requests_at_startup(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py5586def test_add_external_plugins_to_dependencies(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py5608def test_shortcuts_in_external_plugins(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py5933def test_locals_globals_var_debug(main_window, qtbot, tmpdir):STRING
1562 more matches not shown…
Cross-File Repetition163 hits · 815 pts
SeverityFileLineSnippetContext
HIGHspyder/plugins/variableexplorer/widgets/arrayeditor.py0handle the data change event to enable the save and close button.STRING
HIGH…er/plugins/variableexplorer/widgets/dataframeeditor.py0handle the data change event to enable the save and close button.STRING
HIGH…iableexplorer/widgets/objectexplorer/objectexplorer.py0handle the data change event to enable the save and close button.STRING
HIGHspyder/widgets/collectionseditor.py0handle the data change event to enable the save and close button.STRING
HIGHspyder/plugins/variableexplorer/widgets/arrayeditor.py0ask user to confirm refreshing the editor. this function is to be called if refreshing the editor would overwrite changeSTRING
HIGH…er/plugins/variableexplorer/widgets/dataframeeditor.py0ask user to confirm refreshing the editor. this function is to be called if refreshing the editor would overwrite changeSTRING
HIGHspyder/widgets/collectionseditor.py0ask user to confirm refreshing the editor. this function is to be called if refreshing the editor would overwrite changeSTRING
HIGH…er/widgets/objectexplorer/tests/test_objectexplorer.py0test that the refresh action is disabled by default.STRING
HIGH…ins/variableexplorer/widgets/tests/test_arrayeditor.py0test that the refresh action is disabled by default.STRING
HIGH…variableexplorer/widgets/tests/test_dataframeeditor.py0test that the refresh action is disabled by default.STRING
HIGH…er/widgets/objectexplorer/tests/test_objectexplorer.py0test that after pressing the refresh button, the value of the editor is replaced by the return value of the data_functioSTRING
HIGH…ins/variableexplorer/widgets/tests/test_arrayeditor.py0test that after pressing the refresh button, the value of the editor is replaced by the return value of the data_functioSTRING
HIGH…variableexplorer/widgets/tests/test_dataframeeditor.py0test that after pressing the refresh button, the value of the editor is replaced by the return value of the data_functioSTRING
HIGHspyder/widgets/tests/test_collectioneditor.py0test that after pressing the refresh button, the value of the editor is replaced by the return value of the data_functioSTRING
HIGH…er/widgets/objectexplorer/tests/test_objectexplorer.py0test that if the variable is deleted and then the editor is refreshed (resulting in data_function raising a keyerror), aSTRING
HIGH…ins/variableexplorer/widgets/tests/test_arrayeditor.py0test that if the variable is deleted and then the editor is refreshed (resulting in data_function raising a keyerror), aSTRING
HIGH…variableexplorer/widgets/tests/test_dataframeeditor.py0test that if the variable is deleted and then the editor is refreshed (resulting in data_function raising a keyerror), aSTRING
HIGHspyder/widgets/tests/test_collectioneditor.py0test that if the variable is deleted and then the editor is refreshed (resulting in data_function raising a keyerror), aSTRING
HIGHspyder/plugins/pylint/main_widget.py0this signal will request to open a file in a given row and column using a code editor. parameters ---------- path: str pSTRING
HIGHspyder/plugins/pylint/plugin.py0this signal will request to open a file in a given row and column using a code editor. parameters ---------- path: str pSTRING
HIGHspyder/plugins/ipythonconsole/plugin.py0this signal will request to open a file in a given row and column using a code editor. parameters ---------- path: str pSTRING
HIGHspyder/plugins/ipythonconsole/widgets/main_widget.py0this signal will request to open a file in a given row and column using a code editor. parameters ---------- path: str pSTRING
HIGHspyder/plugins/debugger/widgets/main_widget.py0this signal will request to open a file in a given row and column using a code editor. parameters ---------- path: str pSTRING
HIGHspyder/plugins/debugger/widgets/framesbrowser.py0this signal will request to open a file in a given row and column using a code editor. parameters ---------- path: str pSTRING
HIGHspyder/plugins/profiler/widgets/main_widget.py0this signal will request to open a file in a given row and column using a code editor. parameters ---------- path: str pSTRING
HIGHspyder/plugins/console/plugin.py0this signal will request to open a file in a given row and column using a code editor. parameters ---------- path: str pSTRING
HIGHspyder/plugins/projects/widgets/main_widget.py0restoring scrollbar position after main window is visibleSTRING
HIGHspyder/plugins/editor/widgets/main_widget.py0restoring scrollbar position after main window is visibleSTRING
HIGHspyder/plugins/outlineexplorer/plugin.py0restoring scrollbar position after main window is visibleSTRING
HIGHspyder/plugins/ipythonconsole/plugin.py0this signal is emitted to request help on a given object `name`. parameters ---------- help_data: dict example `{'name':STRING
HIGHspyder/plugins/ipythonconsole/widgets/main_widget.py0this signal is emitted to request help on a given object `name`. parameters ---------- help_data: dict example `{'name':STRING
HIGHspyder/plugins/console/plugin.py0this signal is emitted to request help on a given object `name`. parameters ---------- help_data: dict example `{'name':STRING
HIGHspyder/plugins/console/widgets/main_widget.py0this signal is emitted to request help on a given object `name`. parameters ---------- help_data: dict example `{'name':STRING
HIGHspyder/plugins/console/widgets/shell.py0this signal is emitted to request help on a given object `name`. parameters ---------- help_data: dict example `{'name':STRING
HIGH…er/plugins/ipythonconsole/tests/test_ipythonconsole.py0test that the kernel correctly restarts after a kill.STRING
HIGH…ins/ipythonconsole/widgets/tests/test_remotekernels.py0test that the kernel correctly restarts after a kill.STRING
HIGH…ps/qtconsole/qtconsole/tests/test_00_console_widget.py0test that the kernel correctly restarts after a kill.STRING
HIGHspyder/plugins/ipythonconsole/widgets/main_widget.py0this signal will request to change the focus to the plugin.STRING
HIGHspyder/plugins/debugger/widgets/main_widget.py0this signal will request to change the focus to the plugin.STRING
HIGHspyder/plugins/editor/widgets/main_widget.py0this signal will request to change the focus to the plugin.STRING
HIGHspyder/plugins/ipythonconsole/widgets/shell.py0this signal is emitted when pdb reaches a new line. parameters ---------- filename: str the filename the debugger steppeSTRING
HIGHspyder/plugins/debugger/widgets/main_widget.py0this signal is emitted when pdb reaches a new line. parameters ---------- filename: str the filename the debugger steppeSTRING
HIGHspyder/plugins/debugger/widgets/framesbrowser.py0this signal is emitted when pdb reaches a new line. parameters ---------- filename: str the filename the debugger steppeSTRING
HIGHspyder/plugins/ipythonconsole/widgets/shell.py0save the indentation corresponding to the clipboard data. must be called right after copying.STRING
HIGHspyder/plugins/editor/widgets/codeeditor/codeeditor.py0save the indentation corresponding to the clipboard data. must be called right after copying.STRING
HIGHspyder/utils/clipboard_helper.py0save the indentation corresponding to the clipboard data. must be called right after copying.STRING
HIGH…ompletion/providers/languageserver/providers/window.py0spyder language server protocol client workspace handler routines.STRING
HIGH…ompletion/providers/languageserver/providers/client.py0spyder language server protocol client workspace handler routines.STRING
HIGH…pletion/providers/languageserver/providers/document.py0spyder language server protocol client workspace handler routines.STRING
HIGH…letion/providers/languageserver/providers/workspace.py0spyder language server protocol client workspace handler routines.STRING
HIGH…tion/providers/languageserver/widgets/serversconfig.py0get row type based on model index. needed for the custom proxy model.STRING
HIGHspyder/plugins/shortcuts/widgets/table.py0get row type based on model index. needed for the custom proxy model.STRING
HIGHspyder/widgets/collectionseditor.py0get row type based on model index. needed for the custom proxy model.STRING
HIGHspyder/plugins/explorer/plugin.py0this signal is emitted to request creating a new file with spyder. parameters ---------- path: str file path to create.STRING
HIGHspyder/plugins/explorer/widgets/main_widget.py0this signal is emitted to request creating a new file with spyder. parameters ---------- path: str file path to create.STRING
HIGHspyder/plugins/explorer/widgets/explorer.py0this signal is emitted to request creating a new file with spyder. parameters ---------- path: str file path to create.STRING
HIGHspyder/plugins/explorer/plugin.py0this signal is emitted when a file is removed. parameters ---------- path: str file path removed.STRING
HIGHspyder/plugins/explorer/widgets/main_widget.py0this signal is emitted when a file is removed. parameters ---------- path: str file path removed.STRING
HIGHspyder/plugins/explorer/widgets/explorer.py0this signal is emitted when a file is removed. parameters ---------- path: str file path removed.STRING
HIGHspyder/plugins/explorer/plugin.py0this signal is emitted when a file is renamed. parameters ---------- old_path: str old path for renamed file. new_path: STRING
103 more matches not shown…
Cross-Language Confusion92 hits · 459 pts
SeverityFileLineSnippetContext
HIGHtools/rm_whitespace.py140 "${2:-$(git remote |grep ^upstream || echo origin)} "CODE
HIGHtools/rm_whitespace.py141 "refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f")])CODE
HIGHspyder/plugins/variableexplorer/widgets/basedialog.py26 self.setStyleSheet(css.toString())CODE
HIGHspyder/plugins/tours/widgets.py1205 return css.toString()STRING
HIGH⚡spyder/plugins/tours/widgets.py1246 return css.toString()STRING
HIGHspyder/plugins/pythonpath/widgets/pathmanager.py282 return css.toString()CODE
HIGHspyder/plugins/appearance/confpage.py228 preview_interface_label_css.toString()CODE
HIGHspyder/plugins/projects/widgets/projectexplorer.py286 src_list = [str(url.toString()) for url in event.mimeData().urls()]CODE
HIGHspyder/plugins/ipythonconsole/widgets/main_widget.py368 self.pager_label.setStyleSheet(pager_label_css.toString())CODE
HIGHspyder/plugins/ipythonconsole/widgets/main_widget.py433 self.console_environment_menu.setStyleSheet(css.toString())CODE
HIGHspyder/plugins/ipythonconsole/widgets/client.py665 "debugpy_stream undefined, debugging will not be enabled",CODE
HIGHspyder/plugins/ipythonconsole/widgets/restartdialog.py160 label.setStyleSheet(radiobuttons_css.toString())CODE
HIGHspyder/plugins/onlinehelp/widgets.py276 if not current.startswith(self.home_url.toString()):CODE
HIGHspyder/plugins/onlinehelp/widgets.py427 return QUrl(self.home_url.toString() + text)CODE
HIGHspyder/plugins/onlinehelp/widgets.py438 string_url = url.toString()CODE
HIGHspyder/plugins/onlinehelp/widgets.py442 return url.toString().split('=')[-1]CODE
HIGHspyder/plugins/remoteclient/widgets/connectionstatus.py235 label.setStyleSheet(important_labels_css.toString())CODE
HIGHspyder/plugins/remoteclient/widgets/connectionstatus.py243 label.setStyleSheet(other_info_labels_css.toString())CODE
HIGHspyder/plugins/remoteclient/widgets/connectionstatus.py259 self._log_label.setStyleSheet(log_label_css.toString())CODE
HIGHspyder/plugins/remoteclient/widgets/connectionstatus.py280 self._log_widget.setStyleSheet(self._log_widget.css.toString())CODE
HIGHspyder/plugins/debugger/widgets/main_widget.py803 self._stack.setStyleSheet(css.toString())CODE
HIGH…yder/plugins/debugger/widgets/breakpoint_table_view.py206 self.setStyleSheet(css.toString())CODE
HIGHspyder/plugins/application/widgets/about.py308 return css.toString()STRING
HIGHspyder/plugins/application/widgets/about.py334 return css.toString()STRING
HIGHspyder/plugins/application/widgets/about.py346 return css.toString()STRING
HIGHspyder/plugins/application/widgets/about.py368 return css.toString()STRING
HIGH⚡spyder/plugins/application/widgets/appeal.py105 url = str(url.toString())CODE
HIGHspyder/plugins/run/widgets.py242 self.store_params_text.setStyleSheet(store_params_css.toString())CODE
HIGHspyder/plugins/run/widgets.py555 return self._css.toString()CODE
HIGHspyder/plugins/run/widgets.py1142 return self._css.toString()CODE
HIGHspyder/plugins/editor/widgets/main_widget.py482 self.todo_menu.setStyleSheet(todo_menu_css.toString())CODE
HIGHspyder/plugins/editor/widgets/main_widget.py499 self.warning_menu.setStyleSheet(warning_menu_css.toString())CODE
HIGHspyder/plugins/editor/widgets/window.py224 self.splitter.setStyleSheet(self._splitter_css.toString())CODE
HIGHspyder/plugins/editor/widgets/window.py248 editorstack.tabs.setStyleSheet(css.toString())CODE
HIGHspyder/plugins/editor/widgets/window.py365 self.splitter.setStyleSheet(self._splitter_css.toString())CODE
HIGHspyder/plugins/editor/widgets/window.py380 self.splitter.setStyleSheet(self._splitter_css.toString())CODE
HIGHspyder/plugins/editor/widgets/splitter.py287 return css.toString()CODE
HIGH⚡spyder/plugins/editor/widgets/codeeditor/stack_mixin.py1017 self._undo_stack.push(edit)CODE
HIGH…plugins/editor/widgets/codeeditor/multicursor_mixin.py101 # block.length() includes line separator? just \n?COMMENT
HIGHspyder/plugins/editor/widgets/codeeditor/codeeditor.py1476 end = start + it.length() - 1CODE
HIGH…yder/plugins/editor/widgets/editorstack/editorstack.py663 self.top_toolbar.setStyleSheet(css.toString())CODE
HIGH…yder/plugins/editor/widgets/editorstack/editorstack.py2525 if str(lastm.toString()) != str(finfo.lastmodified.toString()):CODE
HIGHspyder/plugins/help/widgets.py873 url = str(url.toString())CODE
HIGHspyder/plugins/console/utils/interpreter.py224 self.more = self.push(cmd)CODE
HIGHspyder/plugins/console/utils/interpreter.py328 return InteractiveConsole.push(self, "#coding=utf-8\n" + line)CODE
HIGHspyder/utils/qthelpers.py249 unquote(str(url.toString())), extlist)CODE
HIGH⚡spyder/utils/stylesheet.py99 if self._stylesheet.toString() == "":CODE
HIGH⚡spyder/utils/stylesheet.py101 return self._stylesheet.toString()CODE
HIGH⚡spyder/utils/stylesheet.py109 if self._stylesheet.toString() == "":CODE
HIGHspyder/utils/stylesheet.py151 self._stylesheet_as_string = self._stylesheet.toString()CODE
HIGHspyder/api/widgets/comboboxes.py118 self.setStyleSheet(css.toString())CODE
HIGHspyder/api/widgets/comboboxes.py213 self.setStyleSheet(self._css.toString())CODE
HIGHspyder/api/widgets/comboboxes.py370 self.setStyleSheet(self._css.toString())CODE
HIGHspyder/api/widgets/comboboxes.py391 self.setStyleSheet(self._css.toString())CODE
HIGHspyder/api/widgets/comboboxes.py424 self.setStyleSheet(self._css.toString())CODE
HIGHspyder/api/widgets/menus.py224 self.setStyleSheet(self.css.toString())CODE
HIGH⚡spyder/api/widgets/status.py125 self.setStyleSheet(self._css.toString())CODE
HIGHspyder/api/widgets/status.py287 self.setStyleSheet(self._css.toString())CODE
HIGHspyder/api/widgets/status.py316 self.setStyleSheet(self._css.toString())CODE
HIGHspyder/api/widgets/status.py337 self.setStyleSheet(self._css.toString())CODE
32 more matches not shown…
Deep Nesting434 hits · 352 pts
SeverityFileLineSnippetContext
LOWconftest.py56CODE
LOWsetup.py61CODE
LOWtools/rm_whitespace.py172CODE
LOWtools/rm_whitespace.py228CODE
LOWspyder/app/find_plugins.py52CODE
LOWspyder/app/mainwindow.py968CODE
LOWspyder/app/start.py104CODE
LOWspyder/app/start.py141CODE
LOWspyder/app/utils.py93CODE
LOWspyder/app/tests/conftest.py135CODE
LOWspyder/app/tests/conftest.py319CODE
LOWspyder/app/tests/test_mainwindow.py3062CODE
LOWspyder/app/tests/test_mainwindow.py3095CODE
LOWspyder/config/user.py252CODE
LOWspyder/config/user.py368CODE
LOWspyder/config/user.py494CODE
LOWspyder/config/user.py556CODE
LOWspyder/config/user.py788CODE
LOWspyder/config/user.py849CODE
LOWspyder/config/user.py868CODE
LOWspyder/config/base.py245CODE
LOWspyder/config/base.py433CODE
LOWspyder/plugins/findinfiles/widgets/search_thread.py117CODE
LOWspyder/plugins/findinfiles/widgets/search_thread.py206CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py317CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py365CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py442CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py525CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py974CODE
LOWspyder/plugins/variableexplorer/widgets/objecteditor.py58CODE
LOW…lugins/variableexplorer/widgets/collectionsdelegate.py158CODE
LOW…lugins/variableexplorer/widgets/collectionsdelegate.py191CODE
LOW…lugins/variableexplorer/widgets/collectionsdelegate.py811CODE
LOWspyder/plugins/variableexplorer/widgets/importwizard.py311CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py376CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py508CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1047CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1147CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1223CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1402CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1509CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1747CODE
LOW…r/plugins/variableexplorer/widgets/namespacebrowser.py256CODE
LOW…/variableexplorer/widgets/objectexplorer/tree_model.py131CODE
LOW…/variableexplorer/widgets/objectexplorer/tree_model.py332CODE
LOW…ableexplorer/widgets/objectexplorer/attribute_model.py98CODE
LOW…variableexplorer/widgets/tests/test_dataframeeditor.py739CODE
LOWspyder/plugins/preferences/plugin.py80CODE
LOWspyder/plugins/preferences/plugin.py182CODE
LOWspyder/plugins/preferences/plugin.py220CODE
LOWspyder/plugins/preferences/tests/conftest.py79CODE
LOWspyder/plugins/preferences/widgets/container.py36CODE
LOWspyder/plugins/tours/widgets.py906CODE
LOWspyder/plugins/tours/widgets.py1047CODE
LOWspyder/plugins/pylint/main_widget.py193CODE
LOWspyder/plugins/pylint/main_widget.py759CODE
LOWspyder/plugins/pythonpath/widgets/pathmanager.py552CODE
LOWspyder/plugins/switcher/utils.py21CODE
LOWspyder/plugins/switcher/utils.py48CODE
LOWspyder/plugins/switcher/tests/test_switcher.py21CODE
374 more matches not shown…
Self-Referential Comments133 hits · 337 pts
SeverityFileLineSnippetContext
MEDIUMspyder/app/restart.py224 # Create the arguments needed for resettingCOMMENT
MEDIUMspyder/app/tests/conftest.py407 # Create a new console to ensure new config is loadedCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py388 # Create an array with a nan valueCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py628 # Create a project in non-ascii pathCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1327 # Create a project pathCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1384 # Create a temp project directoryCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1387 # Create an empty notebook in the project dirCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1439 # Create a temp project directoryCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1442 # Create an empty file in the project dirCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1854 # Create a new editor windowCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py2037 # Create the objectCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py2811 # Create a temp project directorySTRING
MEDIUMspyder/app/tests/test_mainwindow.py3188 # Create a editor splitSTRING
MEDIUMspyder/app/tests/test_mainwindow.py3214 # Create a bogus get_cwdSTRING
MEDIUMspyder/app/tests/test_mainwindow.py4613 # Create a variableSTRING
MEDIUMspyder/app/tests/test_mainwindow.py4643 # Create a variableSTRING
MEDIUMspyder/app/tests/test_mainwindow.py4659 # Create the variable againSTRING
MEDIUMspyder/app/tests/test_mainwindow.py6941 # Create a directory to use as a user pathSTRING
MEDIUMspyder/app/tests/test_mainwindow.py7242 # Create an untitled fileSTRING
MEDIUM…spyder-boilerplate/spyder_boilerplate/spyder/plugin.py81 # Create an example actionCOMMENT
MEDIUM⚡…er/plugins/variableexplorer/widgets/dataframeeditor.py2011 # Create the view for the levelCOMMENT
MEDIUM⚡…er/plugins/variableexplorer/widgets/dataframeeditor.py2014 # Create the view for the horizontal headerCOMMENT
MEDIUM⚡…er/plugins/variableexplorer/widgets/dataframeeditor.py2017 # Create the view for the vertical indexCOMMENT
MEDIUM⚡…er/plugins/variableexplorer/widgets/dataframeeditor.py2023 # Create the model and view of the dataCOMMENT
MEDIUM…er/plugins/variableexplorer/widgets/dataframeeditor.py2109 # Create the model and view of the dataCOMMENT
MEDIUM…ariableexplorer/widgets/tests/test_namespacebrowser.py191 # Create a new variable that starts with a different letter thanCOMMENT
MEDIUMspyder/plugins/pythonpath/widgets/pathmanager.py106 # Create a loading messageCOMMENT
MEDIUMspyder/plugins/pythonpath/widgets/pathmanager.py114 # Create a QStackedWidgetCOMMENT
MEDIUM⚡spyder/plugins/projects/tests/test_plugin.py123 # Create the directoryCOMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py139 # Create the directoryCOMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py222 # Create the projects plugin without creating files.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py254 # Create the projects plugin.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py282 # Create the projects plugin.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py303 # Create the directories.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py372 # Create a directory for the project and some files.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py491 # Create the projects plugin.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py540 # Create a new directoryCOMMENT
MEDIUM⚡…lugins/projects/widgets/tests/test_project_explorer.py48 # Create a temp project directory and fileCOMMENT
MEDIUM⚡…lugins/projects/widgets/tests/test_project_explorer.py52 # Create an empty file in the project dirCOMMENT
MEDIUMspyder/plugins/ipythonconsole/tests/conftest.py196 # Create the console and a new client and set environmentCOMMENT
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py362 # Create a new client and try to rename itSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py379 # Create a new clientSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1075 # Create an IPython kernel config file with a bad configSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1107 # Create a new clientSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1239 # Create a classSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1464 # Create an empty file called random.py in the cwdSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1476 # Create a new client to see if its kernel starts despite theSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1945 # Create a Matplotlib plotSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py2622 # Create a new IPython console clientSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py2672 # Create a new client to test that the global config is appliedSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py3075 # Create a dummy module to check the UMRSTRING
MEDIUMspyder/plugins/ipythonconsole/utils/kernelspec.py185 # Create the executableCOMMENT
MEDIUM…ugins/ipythonconsole/utils/tests/test_spyder_kernel.py25 # Create a kernel specCOMMENT
MEDIUMspyder/plugins/ipythonconsole/widgets/main_widget.py2105 # Creating the clientCOMMENT
MEDIUMspyder/plugins/ipythonconsole/widgets/main_widget.py2327 # Create a new client if the console is about to become emptyCOMMENT
MEDIUMspyder/plugins/ipythonconsole/widgets/main_widget.py2384 # Create a new client if the console is about to become emptyCOMMENT
MEDIUMspyder/plugins/ipythonconsole/widgets/main_widget.py3094 # Create an action for each kernel specCOMMENT
MEDIUMspyder/plugins/completion/api.py309 # Define the priority of this provider, with 1 being the highest oneCOMMENT
MEDIUM…/completion/providers/languageserver/tests/conftest.py60 # Create the managerCOMMENT
MEDIUM…plugins/explorer/widgets/tests/test_remote_explorer.py53 # Create a new directory with the UI and move to itCOMMENT
73 more matches not shown…
Unused Imports335 hits · 320 pts
SeverityFileLineSnippetContext
LOWbootstrap.py162CODE
LOWsetup.py22CODE
LOWsetup.py33CODE
LOWsetup.py34CODE
LOWruntests.py24CODE
LOWspyder/pyplot.py16CODE
LOWspyder/pyplot.py18CODE
LOWspyder/app/mainwindow.py52CODE
LOWspyder/app/start.py47CODE
LOWspyder/app/tests/conftest.py22CODE
LOWspyder/app/tests/script_outline_1.py1CODE
LOWspyder/app/tests/script_outline_1.py2CODE
LOWspyder/app/tests/script_outline_2.py1CODE
LOWspyder/app/tests/script_outline_2.py2CODE
LOWspyder/app/tests/script_outline_2.py5CODE
LOWspyder/app/tests/script_outline_3.py1CODE
LOWspyder/app/tests/script_outline_3.py2CODE
LOWspyder/app/tests/script_outline_3.py5CODE
LOWspyder/app/tests/script_outline_3.py10CODE
LOWspyder/app/tests/script_outline_3.py13CODE
LOWspyder/app/tests/script_outline_3.py13CODE
LOWspyder/app/tests/script_unicode.py1CODE
LOW…spyder-boilerplate/spyder_boilerplate/spyder/plugin.py31CODE
LOWspyder/config/base.py15CODE
LOWspyder/config/tests/conftest.py16CODE
LOWspyder/plugins/findinfiles/api.py12CODE
LOWspyder/plugins/findinfiles/api.py13CODE
LOWspyder/plugins/variableexplorer/api.py12CODE
LOWspyder/plugins/variableexplorer/api.py12CODE
LOWspyder/plugins/variableexplorer/api.py12CODE
LOWspyder/plugins/variableexplorer/api.py12CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py17CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py36CODE
LOW…r/plugins/variableexplorer/widgets/namespacebrowser.py14CODE
LOW…ns/variableexplorer/widgets/objectexplorer/__init__.py19CODE
LOW…ns/variableexplorer/widgets/objectexplorer/__init__.py19CODE
LOW…ns/variableexplorer/widgets/objectexplorer/__init__.py20CODE
LOW…ns/variableexplorer/widgets/objectexplorer/__init__.py21CODE
LOW…ns/variableexplorer/widgets/objectexplorer/__init__.py21CODE
LOW…ns/variableexplorer/widgets/objectexplorer/__init__.py22CODE
LOW…ns/variableexplorer/widgets/objectexplorer/__init__.py23CODE
LOWspyder/plugins/tours/widgets.py1323CODE
LOWspyder/plugins/pylint/api.py13CODE
LOWspyder/plugins/pylint/api.py13CODE
LOWspyder/plugins/pylint/api.py13CODE
LOW…yder/plugins/pylint/tests/test_pylint_config_dialog.py12CODE
LOWspyder/plugins/pythonpath/api.py11CODE
LOW…r/plugins/pythonpath/widgets/tests/test_pathmanager.py23CODE
LOWspyder/plugins/projects/widgets/projectdialog.py11CODE
LOW…r/plugins/projects/widgets/tests/test_qcookiecutter.py12CODE
LOW…r/plugins/projects/widgets/tests/test_qcookiecutter.py13CODE
LOWspyder/plugins/projects/widgets/tests/test_project.py12CODE
LOWspyder/plugins/ipythonconsole/api.py10CODE
LOWspyder/plugins/ipythonconsole/comms/__init__.py13CODE
LOWspyder/plugins/ipythonconsole/utils/websocket_client.py14CODE
LOWspyder/plugins/ipythonconsole/utils/websocket_client.py20CODE
LOWspyder/plugins/ipythonconsole/utils/websocket_client.py22CODE
LOWspyder/plugins/ipythonconsole/widgets/main_widget.py12CODE
LOWspyder/plugins/ipythonconsole/widgets/client.py17CODE
LOWspyder/plugins/ipythonconsole/widgets/__init__.py14CODE
275 more matches not shown…
Excessive Try-Catch Wrapping313 hits · 288 pts
SeverityFileLineSnippetContext
LOWspyder/requirements.py26 except Exception:CODE
LOWspyder/requirements.py59 except Exception as e:CODE
LOW⚡spyder/pyplot.py17except Exception:CODE
LOWspyder/dependencies.py384 except Exception:CODE
LOWspyder/app/find_plugins.py78 except Exception as error:CODE
LOWspyder/app/mainwindow.py523 except Exception:CODE
LOWspyder/app/mainwindow.py1303 except Exception:CODE
LOW⚡spyder/app/start.py185 except Exception as e:CODE
LOWspyder/app/start.py238 except Exception:CODE
LOWspyder/app/restart.py262 except Exception as error:CODE
LOWspyder/app/restart.py292 except Exception as error:CODE
LOWspyder/app/utils.py42except Exception:CODE
LOWspyder/app/tests/conftest.py535 except Exception:CODE
LOWspyder/app/tests/conftest.py569 except Exception:CODE
LOWspyder/app/tests/conftest.py595 except Exception:CODE
LOWspyder/app/tests/conftest.py615 except Exception:CODE
LOWspyder/config/user.py120 except Exception as e:CODE
LOWspyder/config/utils.py138 except Exception:CODE
LOWspyder/config/manager.py693 except Exception:CODE
LOWspyder/config/manager.py800except Exception:CODE
LOWspyder/config/base.py195 except Exception:CODE
LOWspyder/config/base.py577 except Exception:CODE
LOWspyder/config/base.py607 except Exception as exc:CODE
LOWspyder/plugins/findinfiles/widgets/search_thread.py102 except Exception:CODE
MEDIUMspyder/plugins/findinfiles/widgets/search_thread.py95def run(self):CODE
MEDIUMspyder/plugins/variableexplorer/widgets/arrayeditor.py525def load_more_data(self, value, rows=False, columns=False):CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py329 except Exception:CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py650 except Exception:CODE
LOW⚡spyder/plugins/variableexplorer/widgets/texteditor.py200 except Exception:CODE
LOW…lugins/variableexplorer/widgets/collectionsdelegate.py186 except Exception:CODE
LOW…lugins/variableexplorer/widgets/collectionsdelegate.py209 except Exception as exception:CODE
LOW…lugins/variableexplorer/widgets/collectionsdelegate.py497 except Exception as exception:CODE
LOW…lugins/variableexplorer/widgets/collectionsdelegate.py614 except Exception as msg:CODE
LOW…lugins/variableexplorer/widgets/collectionsdelegate.py829 except Exception as msg:CODE
LOWspyder/plugins/variableexplorer/widgets/importwizard.py337 except Exception as instance:CODE
LOW⚡…er/plugins/variableexplorer/widgets/dataframeeditor.py194 except Exception:CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py532 except Exception:CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1099 except Exception as error:CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1798 except Exception:CODE
LOW…r/plugins/variableexplorer/widgets/namespacebrowser.py328 except Exception as error:CODE
LOW…iableexplorer/widgets/objectexplorer/objectexplorer.py528 except Exception as ex:CODE
LOW…/variableexplorer/widgets/objectexplorer/tree_model.py148 except Exception as ex:CODE
LOW…/variableexplorer/widgets/objectexplorer/tree_model.py295 except Exception:CODE
LOW…ableexplorer/widgets/objectexplorer/attribute_model.py66 except Exception as ex:CODE
LOW…variableexplorer/widgets/tests/test_dataframeeditor.py789 except Exception:CODE
LOWspyder/plugins/tours/widgets.py1007 except Exception:STRING
LOWspyder/plugins/pylint/utils.py20except Exception:CODE
LOWspyder/plugins/pylint/utils.py52 except Exception:CODE
LOWspyder/plugins/appearance/confpage.py104 except Exception:CODE
LOWspyder/plugins/appearance/confpage.py553 except Exception:CODE
LOWspyder/plugins/layout/plugin.py575 except Exception:CODE
LOWspyder/plugins/projects/utils/cookie.py31 except Exception as err:CODE
LOWspyder/plugins/projects/utils/watcher.py219 except Exception:CODE
MEDIUMspyder/plugins/projects/utils/watcher.py49def run_wrapper(self):CODE
LOWspyder/plugins/projects/widgets/main_widget.py935 except Exception:CODE
LOWspyder/plugins/projects/widgets/main_widget.py944 except Exception:CODE
LOWspyder/plugins/ipythonconsole/tests/conftest.py287 except Exception:CODE
LOWspyder/plugins/ipythonconsole/tests/conftest.py349 except Exception:CODE
LOWspyder/plugins/ipythonconsole/tests/conftest.py368 except Exception:CODE
LOWspyder/plugins/ipythonconsole/tests/conftest.py377 except Exception:CODE
253 more matches not shown…
Redundant / Tautological Comments151 hits · 209 pts
SeverityFileLineSnippetContext
LOWsetup.py142 # Check if a Qt binding is set in the environment and normalizesCOMMENT
LOWspyder/app/tests/conftest.py339 # Check if we need to use introspection in a given testCOMMENT
LOWspyder/app/tests/conftest.py360 # Check if we need to load a simple project to the interfaceCOMMENT
LOWspyder/app/tests/conftest.py367 # Check if we need to preload a complex project in a give testCOMMENT
LOWspyder/app/tests/conftest.py378 # Check if we need to preload a project with a namespace packageCOMMENT
LOWspyder/app/tests/test_mainwindow.py1318 # Close fileCOMMENT
LOWspyder/app/tests/test_mainwindow.py2946 # Close the fileSTRING
LOWspyder/app/tests/test_mainwindow.py5376 # Open file in one of our directories without an __init__ fileSTRING
LOWspyder/app/tests/test_mainwindow.py7770 # Set cwd to run filesSTRING
LOWspyder/app/tests/test_mainwindow.py7807 # Set cwd to debug files and check we use itSTRING
LOWspyder/config/manager.py727 # Check if plugin has a separate fileCOMMENT
LOWspyder/config/manager.py734 # Check if plugin has a separate fileCOMMENT
LOWspyder/config/manager.py806 # Check if there's an app already runningCOMMENT
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py1038 # Add widgets to the stackCOMMENT
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1426 # Verify if find '_copy(' in the labelCOMMENT
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py2354 # Check if the header shape has only one row (which display theCOMMENT
LOW…iableexplorer/widgets/objectexplorer/objectexplorer.py173 # Check if the values of the model have been changedCOMMENT
LOW⚡spyder/plugins/preferences/plugin.py89 # Check if the plugin adds new configuration options to otherCOMMENT
LOWspyder/plugins/preferences/plugin.py100 # Check if the plugin declares any additional configuration tabsCOMMENT
LOWspyder/plugins/tours/widgets.py781 # Check if it is a dockwidget and make the widget a dockwidgetSTRING
LOWspyder/plugins/tours/widgets.py802 # Check if entry exists in dic and act accordinglySTRING
LOWspyder/plugins/pylint/main_widget.py889 # Check if custom interpreter is still presentCOMMENT
LOWspyder/plugins/layout/api.py149 # Check if areas are overlapping!COMMENT
LOWspyder/plugins/layout/plugin.py1100 # Check if TABIFY is not a list with None as unique value or a defaultCOMMENT
LOWspyder/plugins/layout/widgets/dialog.py407 # Check if name changedCOMMENT
LOWspyder/plugins/layout/widgets/dialog.py418 # Check if checkbox clickedCOMMENT
LOWspyder/plugins/projects/api.py87 # Check if recent_files in [main] (Spyder 4)COMMENT
LOWspyder/plugins/projects/tests/test_plugin.py158 # Set config to opposite value so that we can check that it's set correctlyCOMMENT
LOWspyder/plugins/projects/widgets/main_widget.py710 # Open file in editorCOMMENT
LOW…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1045 # Set time to 2 minutes ago.STRING
LOWspyder/plugins/ipythonconsole/utils/kernel_handler.py377 # Check if jupyter_runtime_dir exists (Spyder addition)COMMENT
LOWspyder/plugins/ipythonconsole/widgets/main_widget.py1072 # Check if clients require a restart due to a change inCOMMENT
LOWspyder/plugins/ipythonconsole/widgets/main_widget.py2289 # Check if related clients or kernels are openedCOMMENT
LOWspyder/plugins/ipythonconsole/widgets/client.py421 # Check if cwd exists, else use home dir.COMMENT
LOWspyder/plugins/ipythonconsole/widgets/shell.py304 # Set _starting to False to avoid reset at first promptCOMMENT
LOWspyder/plugins/ipythonconsole/widgets/shell.py603 # Check if there is a kernel that can be interrupted before tryingCOMMENT
LOWspyder/plugins/ipythonconsole/widgets/shell.py1043 # Check if the dependecies for special consoles are available.COMMENT
LOWspyder/plugins/ipythonconsole/widgets/debugging.py318 # Check if we can guess a path from the shell content:COMMENT
LOWspyder/plugins/ipythonconsole/widgets/debugging.py389 # Set executing to true and save the input bufferCOMMENT
LOWspyder/plugins/ipythonconsole/widgets/help.py61 # Check if the signature is at the beginning of the docstringCOMMENT
LOW⚡spyder/plugins/completion/plugin.py762 # Check if there were any version changes between configurationsCOMMENT
LOW⚡spyder/plugins/completion/plugin.py770 # Check if there are new default values and copy themCOMMENT
LOW⚡spyder/plugins/completion/plugin.py777 # Check if default values were changed between versions,COMMENT
LOW⚡spyder/plugins/completion/plugin.py786 # Check if keys were removed/renamed from the previous defaultsCOMMENT
LOWspyder/plugins/completion/plugin.py1067 # Check if there are two or more slow completion providersCOMMENT
LOWspyder/plugins/explorer/widgets/remote_explorer.py963 # Check if remote file with the same name exists before trying toCOMMENT
LOWspyder/plugins/explorer/widgets/remote_explorer.py1390 # Check if the remote files exist first. If some of them do, thenCOMMENT
LOWspyder/plugins/explorer/widgets/remote_explorer.py1558 # Check if users want to overwrite all downloaded filesCOMMENT
LOWspyder/plugins/explorer/widgets/remote_explorer.py1587 # Check if a local file with the same name existsCOMMENT
LOWspyder/plugins/explorer/widgets/remote_explorer.py1673 # Check if the remote files exist first. If some of them do, thenCOMMENT
LOWspyder/plugins/explorer/widgets/explorer.py1078 # Open files or directoriesCOMMENT
LOWspyder/plugins/remoteclient/widgets/container.py159 # Check if it's possible to save credentials securely before showingCOMMENT
LOWspyder/plugins/profiler/widgets/main_widget.py529 # Check if we're showing slow locals or searching for something toCOMMENT
LOWspyder/plugins/application/plugin.py726 # Check if started with bootstrap.pyCOMMENT
LOWspyder/plugins/run/container.py1277 # Check if there's already a default parameter config to not do thisCOMMENT
LOWspyder/plugins/run/widgets.py518 # Check if params are app default ones.COMMENT
LOWspyder/plugins/editor/panels/classfunctiondropdown.py183 # Check if it is a real parentCOMMENT
LOWspyder/plugins/editor/panels/codefolding.py155 # Check if the block decoration has been removed, itCOMMENT
LOWspyder/plugins/editor/panels/codefolding.py181 # Check if a block is folded by UI inspection.COMMENT
LOWspyder/plugins/editor/panels/codefolding.py194 # Check if the block already has a decoration,COMMENT
91 more matches not shown…
Over-Commented Block196 hits · 176 pts
SeverityFileLineSnippetContext
LOWconftest.py21COMMENT
LOWruntests.py81 # reached. If that's the case, sys.exit doesn't stop the script as youCOMMENT
LOWtools/png-convert-and-optimize.sh1#!/bin/bashCOMMENT
LOWspyder/app/start.py261 and not options.reset_config_files):COMMENT
LOWspyder/app/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/config/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/config/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/findinfiles/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/findinfiles/widgets/results_browser.py141 # - https://stackoverflow.com/a/43253004/438386COMMENT
LOWspyder/plugins/findinfiles/widgets/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/variableexplorer/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py1# -*- coding: utf-8 -*-COMMENT
LOW…s/variableexplorer/widgets/objectexplorer/tree_item.py1# -*- coding: utf-8 -*-COMMENT
LOW…iableexplorer/widgets/objectexplorer/objectexplorer.py1# -*- coding: utf-8 -*-COMMENT
LOW…/variableexplorer/widgets/objectexplorer/tree_model.py1# -*- coding: utf-8 -*-COMMENT
LOW…ableexplorer/widgets/objectexplorer/attribute_model.py1# -*- coding: utf-8 -*-COMMENT
LOW…explorer/widgets/objectexplorer/toggle_column_mixin.py1# -*- coding: utf-8 -*-COMMENT
LOW…iableexplorer/widgets/objectexplorer/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOW…der/plugins/variableexplorer/widgets/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/tours/widgets.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/pylint/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOW…yder/plugins/pylint/tests/test_pylint_config_dialog.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/pythonpath/widgets/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/switcher/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/appearance/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/layout/plugin.py41from spyder.utils.qthelpers import qbytearray_to_strCOMMENT
LOWspyder/plugins/layout/plugin.py221 # The layout needs to be applied twice: before and after the mainCOMMENT
LOWspyder/plugins/layout/widgets/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/projects/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/projects/utils/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/projects/widgets/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/projects/widgets/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/ipythonconsole/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/ipythonconsole/utils/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/ipythonconsole/utils/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/ipythonconsole/widgets/main_widget.py2941 # We use the server name as hostname because for clients it's theCOMMENT
LOWspyder/plugins/ipythonconsole/widgets/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/completion/api.py301 """COMMENT
LOWspyder/plugins/completion/api.py321 # CONF_DEFAULTS_EXAMPLE = [COMMENT
LOWspyder/plugins/completion/api.py341 # A list of status bars classes that the provider declares toCOMMENT
LOW…/plugins/completion/providers/languageserver/client.py241 # Set the PyLS current working to an empty dir insideCOMMENT
LOWspyder/plugins/onlinehelp/api.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/onlinehelp/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/explorer/plugin.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/explorer/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/explorer/widgets/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/remoteclient/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/history/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/shortcuts/api.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/shortcuts/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/shortcuts/widgets/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/shortcuts/widgets/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOW…yder/plugins/debugger/widgets/breakpoint_table_view.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/profiler/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/profiler/widgets/main_widget.py201 # triggered=self._undo,COMMENT
LOWspyder/plugins/profiler/widgets/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/run/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/workingdirectory/confpage.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/workingdirectory/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWspyder/plugins/maininterpreter/tests/__init__.py1# -*- coding: utf-8 -*-COMMENT
136 more matches not shown…
Modern Structural Boilerplate138 hits · 129 pts
SeverityFileLineSnippetContext
LOWspyder/app/find_plugins.py21logger = logging.getLogger(__name__)CODE
LOW⚡spyder/app/mainwindow.py113logger = logging.getLogger(__name__)CODE
LOWspyder/config/manager.py35logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py248 def set_format_spec(self, format_spec: str) -> None:CODE
LOW…er/plugins/variableexplorer/widgets/dataframeeditor.py425 def set_format_spec(self, format_spec: str) -> None:CODE
LOW…s/variableexplorer/widgets/objectexplorer/tree_item.py23logger = logging.getLogger(__name__)CODE
LOW…iableexplorer/widgets/objectexplorer/objectexplorer.py38logger = logging.getLogger(__name__)CODE
LOW…/variableexplorer/widgets/objectexplorer/tree_model.py33logger = logging.getLogger(__name__)CODE
LOW…ableexplorer/widgets/objectexplorer/attribute_model.py47logger = logging.getLogger(__name__)CODE
LOW…explorer/widgets/objectexplorer/toggle_column_mixin.py27logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/preferences/plugin.py46logger = logging.getLogger(__name__)CODE
LOW⚡spyder/plugins/pythonpath/container.py24logger = logging.getLogger(__name__)CODE
LOW⚡spyder/plugins/layout/plugin.py45logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/projects/plugin.py35logger = logging.getLogger(__name__)CODE
LOW⚡spyder/plugins/projects/utils/watcher.py27logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/projects/widgets/main_widget.py55logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/comms/kernelcomm.py22logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/utils/kernelspec.py53logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/widgets/main_widget.py84logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/widgets/main_widget.py1640 def update_edit_menu(self) -> None:CODE
LOW⚡spyder/plugins/ipythonconsole/widgets/client.py66logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/widgets/shell.py60logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/widgets/debugging.py35logger = logging.getLogger(__name__)CODE
LOW…der/plugins/ipythonconsole/widgets/namespacebrowser.py29logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/widgets/status.py30logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/toolbar/container.py34logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/completion/plugin.py42logger = logging.getLogger(__name__)CODE
LOW…yder/plugins/completion/providers/snippets/provider.py29logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/completion/providers/snippets/actor.py28logger = logging.getLogger(__name__)CODE
LOW…lugins/completion/providers/languageserver/provider.py45logger = logging.getLogger(__name__)CODE
LOW…/plugins/completion/providers/languageserver/client.py68logger = logging.getLogger(__name__)CODE
LOW…ompletion/providers/languageserver/providers/window.py16logger = logging.getLogger(__name__)CODE
LOW…ompletion/providers/languageserver/providers/client.py17logger = logging.getLogger(__name__)CODE
LOW…pletion/providers/languageserver/providers/document.py25logger = logging.getLogger(__name__)CODE
LOW…letion/providers/languageserver/providers/workspace.py34logger = logging.getLogger(__name__)CODE
LOW…yder/plugins/completion/providers/fallback/provider.py22logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/completion/providers/fallback/actor.py30logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/explorer/plugin.py31logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/explorer/widgets/main_widget.py42logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/explorer/widgets/remote_explorer.py63logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/remoteclient/tests/fixtures.py22__all__ = [CODE
LOWspyder/plugins/remoteclient/api/modules/__init__.py25__all__ = ['JupyterAPI', 'SpyderRemoteFileServicesAPI']CODE
LOWspyder/plugins/remoteclient/api/modules/base.py32logger = logging.getLogger(__name__)CODE
LOW…der/plugins/remoteclient/widgets/connectioncombobox.py96 def _setup_connections(self) -> None:CODE
LOW⚡spyder/plugins/remoteclient/widgets/connectionpages.py64logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/application/plugin.py582 def _update_file_actions(self) -> None:CODE
LOWspyder/plugins/application/plugin.py609 def _update_edit_actions(self) -> None:CODE
LOWspyder/plugins/application/plugin.py633 def _update_search_actions(self) -> None:CODE
LOWspyder/plugins/run/api.py23logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/run/tests/test_run.py56logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/workingdirectory/container.py35logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/workingdirectory/plugin.py31logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/maininterpreter/container.py31logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/editor/plugin.py58logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/editor/panels/scrollflag.py30logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/editor/panels/manager.py30logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/editor/utils/autosave.py46logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/editor/extensions/manager.py27logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/editor/api/panel.py35logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/editor/api/panel.py200 def set_geometry(self, crect: QRect) -> None:CODE
78 more matches not shown…
Docstring Block Structure12 hits · 60 pts
SeverityFileLineSnippetContext
HIGH…yder/plugins/editor/extensions/tests/test_docstring.py338"""This is a multi line docstring. It is very long. Sub indent. Args: STRING
HIGH…yder/plugins/editor/extensions/tests/test_docstring.py359This is a multi line docstring. It is very long. Sub indent. Args: STRING
HIGH…tests/docstring_test_cases/docstring_google_partial.py7This is a multi line docstring. It is very long. Sub indent. Returns: tuple[str, bool]: The stSTRING
HIGH…tests/docstring_test_cases/docstring_google_partial.py28This is a multi line docstring. It is very long. Sub indent. Args: arg1 (str): DESCRIPTION. STRING
HIGH…tests/docstring_test_cases/docstring_google_partial.py50This is a multi line docstring. It is very long. Sub indent. Args: arg1 (str): DESCRIPTION. STRING
HIGH…tests/docstring_test_cases/docstring_google_partial.py72This is a multi line docstring. It is very long. Sub indent. Args: arg1 (str): DESCRIPTION. STRING
HIGH…/docstring_test_cases/params_return_raise_annotated.py31SUMMARY. Args: arg1 (TYPE): DESCRIPTION. arg2 (bool, optional): DESCRIPTION. Defaults to True. STRING
HIGH…ns/tests/docstring_test_cases/docstring_google_full.py7This is a multi line docstring. It is very long. Sub indent. Args: arg1 (str): The first arg. STRING
HIGH…ns/tests/docstring_test_cases/docstring_google_full.py32This is a multi line docstring. It is very long. Sub indent. Args: arg1 (str): The first arg. STRING
HIGH…ns/tests/docstring_test_cases/docstring_google_full.py54This is a multi line docstring. It is very long. Sub indent. Args: arg1 (str): The first arg. STRING
HIGH…ns/tests/docstring_test_cases/docstring_google_full.py76This is a multi line docstring. It is very long. Sub indent. Args: arg1 (str): The first arg. STRING
HIGH…ing_test_cases/param_annotation_multiline_realworld.py98Run the coroutine in the event loop. Args: async_func (collections.abc.Callable[_P, collections.abcSTRING
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALspyder/plugins/help/utils/js/mathjax/MathJax.js19if(document.getElementById&&document.childNodes&&document.createElement){if(!(window.MathJax&&MathJax.Hub)){if(window.MaCODE
CRITICAL…lp/utils/js/mathjax/extensions/a11y/semantic-enrich.js1MathJax.Extension["semantic-enrich"]={version:"1.5.0",config:MathJax.Hub.CombineConfig("semantic-enrich",{disabled:!1}),CODE
CRITICAL…s/help/utils/js/mathjax/extensions/a11y/mathjax-sre.js930this.keyMapping[sre.EventUtil.KeyCode.P]=goog.bind(this.previous,this);this.keyMapping[sre.EventUtil.KeyCode.U]=goog.binCODE
CRITICALspyder/widgets/collectionseditor.py2028 self.widget.editor.source_model.sig_setting_data.connect(CODE
AI Structural Patterns33 hits · 28 pts
SeverityFileLineSnippetContext
LOW…iableexplorer/widgets/objectexplorer/objectexplorer.py73CODE
LOWspyder/plugins/switcher/plugin.py186CODE
LOWspyder/plugins/switcher/widgets/switcher.py258CODE
LOWspyder/plugins/switcher/widgets/item.py206CODE
LOWspyder/plugins/projects/widgets/main_widget.py870CODE
LOWspyder/plugins/ipythonconsole/utils/kernel_handler.py159CODE
LOWspyder/plugins/ipythonconsole/widgets/client.py108CODE
LOWspyder/plugins/completion/api.py680CODE
LOW…ompletion/providers/snippets/widgets/snippetsconfig.py228CODE
LOW…tion/providers/languageserver/widgets/serversconfig.py55CODE
LOW…tion/providers/languageserver/widgets/serversconfig.py129CODE
LOWspyder/plugins/completion/tests/conftest.py70CODE
LOWspyder/plugins/run/plugin.py428CODE
LOW…ts/docstring_test_cases/multiline_def_over_20_lines.py2CODE
LOWspyder/plugins/editor/api/decoration.py75CODE
LOWspyder/plugins/editor/widgets/main_widget.py1943CODE
LOWspyder/plugins/editor/widgets/codeeditor/codeeditor.py813CODE
LOWspyder/utils/qthelpers.py285CODE
LOWspyder/utils/qthelpers.py367CODE
LOWspyder/utils/debug.py136CODE
LOWspyder/api/widgets/mixins.py68CODE
LOWspyder/api/widgets/mixins.py662CODE
LOWspyder/widgets/mixins.py189CODE
LOWspyder/widgets/config.py556CODE
LOWspyder/widgets/config.py604CODE
LOWspyder/widgets/config.py788CODE
LOWspyder/widgets/config.py1021CODE
LOWspyder/widgets/collectionseditor.py1981CODE
LOWspyder/widgets/collectionseditor.py2256CODE
LOWspyder/widgets/emptymessage.py32CODE
LOWspyder/widgets/simplecodeeditor.py197CODE
LOW…nal-deps/spyder-kernels/spyder_kernels/utils/nsview.py618CODE
LOW…spyder-kernels/spyder_kernels/customize/code_runner.py382CODE
Dead Code11 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUM…ns/tests/docstring_test_cases/docstring_sphinx_full.py30CODE
MEDIUM…tests/docstring_test_cases/docstring_google_partial.py26CODE
MEDIUM…/docstring_test_cases/params_return_raise_annotated.py5CODE
MEDIUM…tests/docstring_test_cases/docstring_sphinx_partial.py28CODE
MEDIUM…ns/tests/docstring_test_cases/docstring_google_full.py30CODE
MEDIUM…/tests/docstring_test_cases/docstring_numpy_partial.py35CODE
MEDIUM…ons/tests/docstring_test_cases/docstring_numpy_full.py42CODE
MEDIUM…nsions/tests/docstring_test_cases/async_raise_yield.py5CODE
MEDIUM…nsions/tests/docstring_test_cases/async_raise_yield.py6CODE
MEDIUM…nsions/tests/docstring_test_cases/async_raise_yield.py7CODE
MEDIUM…nsions/tests/docstring_test_cases/async_raise_yield.py8CODE
AI Slop Vocabulary10 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMconftest.py32# directly by a pytest hook (see pytest_runtest_logreport), which is robust toCOMMENT
LOW…/variableexplorer/widgets/objectexplorer/tree_model.py538 # We cannot just call the same function of the source modelCOMMENT
LOWspyder/plugins/appearance/confpage.py447 # Still not found, just use first itemCOMMENT
MEDIUMspyder/plugins/ipythonconsole/widgets/client.py637 """Decide if an error is benign in order to filter it."""STRING
MEDIUMspyder/plugins/ipythonconsole/widgets/client.py681 """Decide if a message contains a warning in order to filter it."""STRING
MEDIUMspyder/plugins/help/utils/js/jquery.js9393// AMD modules. A named AMD is safest and most robust way to register.COMMENT
MEDIUM…rnal-deps/spyder-kernels/spyder_kernels/comms/utils.py50 """Determine if a message is benign in order to filter it."""STRING
LOW…al-deps/python-lsp-server/pylsp/plugins/pylint_lint.py112 # json.loads will not parse an empty string, so just return.COMMENT
LOW…eps/python-lsp-server/pylsp/plugins/autopep8_format.py68 # So let's just return the entire file...COMMENT
MEDIUM⚡…nal-deps/qtconsole/qtconsole/history_console_widget.py19 # Shift in conjunction with the standard history cycling keys.COMMENT
Slop Phrases6 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/png-convert-and-optimize.sh11# make sure to run this from the top level spyder repo dir in order to catchCOMMENT
MEDIUMspyder/__init__.py48# Dear (Debian, RPM, ...) package makers, please feel free to customize theCOMMENT
LOWspyder/utils/syntaxhighlighters.py1347 # Before starting a new worker process make sure to end previousCOMMENT
LOWspyder/utils/external/dafsa/dafsa.py625 # Use the first node that matches, and make sure toCOMMENT
LOWspyder/utils/external/dafsa/dafsa.py635 # Use the first node that matches, and make sure toCOMMENT
LOW…nal-deps/spyder-kernels/spyder_kernels/utils/nsview.py660 If you update this list, don't forget to update variablexplorer.rstSTRING
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWspyder/plugins/findinfiles/widgets/tests/data/spam.txt3lorem ipsum sit dolor spamCODE
LOWspyder/utils/snippets/nodes.py31 PLACEHOLDER = 'placeholder'CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWspyder/config/manager.py196 # TODO: implement project configuration on the following PRCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWspyder/plugins/variableexplorer/widgets/importwizard.py415 def process_data(self, text, colsep=u"\t", rowsep=u"\n",CODE
LOWspyder/plugins/remoteclient/api/modules/base.py192 async def my_function():STRING
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ternal-deps/python-lsp-server/pylsp/plugins/symbols.py67 # document_dot_path, we need to check if sym_module_name startsCOMMENT
Structural Annotation Overuse1 hit · 0 pts
SeverityFileLineSnippetContext
LOWexternal-deps/qtconsole/qtconsole/console_widget.py678 # WARNING: The order in which things happen here is very particular, inSTRING