Repository Analysis

spyder-ide/spyder

Official repository for Spyder - The Scientific Python Development Environment

31.0 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of spyder-ide/spyder, a Python project with 9,300 GitHub stars. SynthScan v2.0 examined 331,195 lines of code across 2202 source files, recording 5389 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 31.0 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

31.0
Adjusted Score
31.0
Raw Score
100%
Time Factor
2026-08-28
Last Push
9.3K
Stars
Python
Language
331.2K
Lines of Code
2.2K
Files
5.4K
Pattern Hits
2026-08-29
Scan Date
0.12
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 4HIGH 266MEDIUM 1906LOW 3213

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 5389 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators1746 hits · 5496 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
MEDIUMsetup.py37# =============================================================================COMMENT
MEDIUMsetup.py40# =============================================================================COMMENT
MEDIUMsetup.py48# =============================================================================COMMENT
MEDIUMsetup.py50# =============================================================================COMMENT
MEDIUMsetup.py58# =============================================================================COMMENT
MEDIUMsetup.py60# =============================================================================COMMENT
MEDIUMsetup.py188# =============================================================================COMMENT
MEDIUMsetup.py190# =============================================================================COMMENT
MEDIUMsetup.py196# =============================================================================COMMENT
MEDIUMsetup.py198# =============================================================================COMMENT
MEDIUMsetup.py203#==============================================================================COMMENT
MEDIUMsetup.py205#==============================================================================COMMENT
MEDIUMsetup.py156# =============================================================================COMMENT
MEDIUMsetup.py158# =============================================================================COMMENT
MEDIUMsetup.py174# =============================================================================COMMENT
MEDIUMsetup.py176# =============================================================================COMMENT
MEDIUMsetup.py415# =============================================================================COMMENT
MEDIUMsetup.py417# =============================================================================COMMENT
MEDIUMrope_profiling/test.py2# -----------------------------------------------------------------------------COMMENT
MEDIUMrope_profiling/test.py7# -----------------------------------------------------------------------------COMMENT
MEDIUMspyder/pyplot.py2# -----------------------------------------------------------------------------COMMENT
MEDIUMspyder/pyplot.py7# -----------------------------------------------------------------------------COMMENT
MEDIUMspyder/dependencies.py22# =============================================================================COMMENT
MEDIUMspyder/dependencies.py24# =============================================================================COMMENT
MEDIUMspyder/dependencies.py30# =============================================================================COMMENT
MEDIUMspyder/dependencies.py32# =============================================================================COMMENT
MEDIUMspyder/dependencies.py94# =============================================================================COMMENT
MEDIUMspyder/dependencies.py99# =============================================================================COMMENT
MEDIUMspyder/dependencies.py346# =============================================================================COMMENT
MEDIUMspyder/dependencies.py348# =============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py36#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py38#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py42#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py44#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py99#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py101#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py109#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py111#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py115#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py117#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py121#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py123#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py19# =============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py21# =============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py63#==============================================================================COMMENT
MEDIUMspyder/app/mainwindow.py68#==============================================================================COMMENT
1686 more matches not shown…
Hyper-Verbose Identifiers1605 hits · 1459 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
LOWspyder/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.py112def test_single_instance_and_edit_magic(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py280def test_default_plugin_actions(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py344def test_opengl_implementation(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py369def test_filter_numpy_warning(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py458def test_get_help_ipython_console_dot_notation(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py499def test_get_help_ipython_console_special_characters(CODE
LOWspyder/app/tests/test_mainwindow.py545def test_get_help_ipython_console(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py647def test_move_to_first_breakpoint(main_window, qtbot, debugcell):CODE
LOWspyder/app/tests/test_mainwindow.py1034def test_connection_to_external_kernel(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1107def test_debug_and_backend_external_kernel(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1150def test_change_types_in_varexp(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1180def test_change_cwd_ipython_console(CODE
LOWspyder/app/tests/test_mainwindow.py1367def test_open_notebooks_from_project_explorer(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py1422def test_runfile_from_project_explorer(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py1837def test_open_files_in_new_editor_window(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1861def test_close_when_file_is_changed(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py1883def test_maximize_minimize_plugins(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py2103def test_c_and_n_pdb_commands(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py2350def test_plots_scroll_and_max_plots(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py2456def test_tight_layout_option_for_inline_plot(main_window, qtbot, tmpdir):CODE
LOWspyder/app/tests/test_mainwindow.py2568def test_plot_from_collectioneditor(main_window, qtbot):CODE
LOWspyder/app/tests/test_mainwindow.py2708def test_editorstack_open_switcher_dlg(main_window, tmpdir, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py2740def test_editorstack_open_symbolfinder_dlg(main_window, qtbot, tmpdir):STRING
LOWspyder/app/tests/test_mainwindow.py2786def test_switcher_projects_integration(main_window, pytestconfig, qtbot,STRING
LOWspyder/app/tests/test_mainwindow.py2908def test_run_static_code_analysis(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py2950def test_troubleshooting_menu_item_and_url(main_window, qtbot, monkeypatch):STRING
LOWspyder/app/tests/test_mainwindow.py2975def test_help_opens_when_show_tutorial_full(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3090def test_programmatic_custom_layouts(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3276def test_preferences_run_section_exists(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3298def test_preferences_checkboxes_not_checked_regression(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3366def test_preferences_change_font_regression(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3412def test_preferences_empty_shortcut_regression(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3471def test_preferences_shortcut_reset_regression(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py3504def test_change_lsp_interpreter(qtbot, main_window):STRING
LOWspyder/app/tests/test_mainwindow.py3546def test_preferences_last_page_is_loaded(qtbot, main_window):STRING
LOWspyder/app/tests/test_mainwindow.py3717def test_runcell_leading_indent(main_window, qtbot, tmpdir):STRING
LOWspyder/app/tests/test_mainwindow.py4027def test_path_manager_updates_clients(qtbot, main_window, tmpdir):STRING
LOWspyder/app/tests/test_mainwindow.py4246def test_runcell_after_restart(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py4392def test_running_namespace_refresh(main_window, qtbot, tmpdir):STRING
LOWspyder/app/tests/test_mainwindow.py4549def test_run_unsaved_file_multiprocessing(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py4599def test_varexp_cleared_after_kernel_restart(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py4628def test_varexp_cleared_after_reset(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py4794def test_ordering_lsp_requests_at_startup(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py5581def test_add_external_plugins_to_dependencies(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py5603def test_shortcuts_in_external_plugins(main_window, qtbot):STRING
LOWspyder/app/tests/test_mainwindow.py5928def test_locals_globals_var_debug(main_window, qtbot, tmpdir):STRING
1545 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 Confusion91 hits · 454 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
HIGHspyder/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.py397 return QUrl(self.home_url.toString() + text)CODE
HIGHspyder/plugins/onlinehelp/widgets.py408 string_url = url.toString()CODE
HIGHspyder/plugins/onlinehelp/widgets.py412 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
HIGHspyder/plugins/application/widgets/appeal.py113 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
HIGHspyder/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.py1470 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.py2505 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
HIGHspyder/utils/stylesheet.py99 if self._stylesheet.toString() == "":CODE
HIGHspyder/utils/stylesheet.py101 return self._stylesheet.toString()CODE
HIGHspyder/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
HIGHspyder/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
HIGHspyder/api/widgets/status.py361 self.setStyleSheet(self._css.toString())CODE
31 more matches not shown…
Deep Nesting435 hits · 358 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.py3057CODE
LOWspyder/app/tests/test_mainwindow.py3090CODE
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.py972CODE
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.py257CODE
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
375 more matches not shown…
Self-Referential Comments131 hits · 342 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.py383 # Create an array with a nan valueCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py623 # Create a project in non-ascii pathCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1322 # Create a project pathCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1379 # Create a temp project directoryCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1382 # Create an empty notebook in the project dirCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1434 # Create a temp project directoryCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1437 # Create an empty file in the project dirCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py1849 # Create a new editor windowCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py2032 # Create the objectCOMMENT
MEDIUMspyder/app/tests/test_mainwindow.py2806 # Create a temp project directorySTRING
MEDIUMspyder/app/tests/test_mainwindow.py3183 # Create a editor splitSTRING
MEDIUMspyder/app/tests/test_mainwindow.py3209 # Create a bogus get_cwdSTRING
MEDIUMspyder/app/tests/test_mainwindow.py4608 # Create a variableSTRING
MEDIUMspyder/app/tests/test_mainwindow.py4638 # Create a variableSTRING
MEDIUMspyder/app/tests/test_mainwindow.py4654 # Create the variable againSTRING
MEDIUMspyder/app/tests/test_mainwindow.py6936 # Create a directory to use as a user pathSTRING
MEDIUMspyder/app/tests/test_mainwindow.py7237 # Create an untitled fileSTRING
MEDIUM…spyder-boilerplate/spyder_boilerplate/spyder/plugin.py81 # Create an example actionCOMMENT
MEDIUM…er/plugins/variableexplorer/widgets/dataframeeditor.py2013 # Create the view for the levelCOMMENT
MEDIUM…er/plugins/variableexplorer/widgets/dataframeeditor.py2016 # Create the view for the horizontal headerCOMMENT
MEDIUM…er/plugins/variableexplorer/widgets/dataframeeditor.py2019 # Create the view for the vertical indexCOMMENT
MEDIUM…er/plugins/variableexplorer/widgets/dataframeeditor.py2025 # Create the model and view of the dataCOMMENT
MEDIUM…er/plugins/variableexplorer/widgets/dataframeeditor.py2111 # 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
MEDIUMspyder/plugins/projects/tests/test_plugin.py122 # Create the directoryCOMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py138 # Create the directoryCOMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py221 # Create the projects plugin without creating files.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py253 # Create the projects plugin.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py281 # Create the projects plugin.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py302 # Create the directories.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py370 # Create a directory for the project and some files.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py489 # Create the projects plugin.COMMENT
MEDIUMspyder/plugins/projects/tests/test_plugin.py538 # 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.py358 # Create a new client and try to rename itSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py375 # Create a new clientSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1070 # Create an IPython kernel config file with a bad configSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1102 # Create a new clientSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1234 # Create a classSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1459 # Create an empty file called random.py in the cwdSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1471 # Create a new client to see if its kernel starts despite theSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py1940 # Create a Matplotlib plotSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py2621 # Create a new IPython console clientSTRING
MEDIUM…er/plugins/ipythonconsole/tests/test_ipythonconsole.py2671 # Create a new client to test that the global config is appliedSTRING
MEDIUMspyder/plugins/ipythonconsole/utils/kernelspec.py190 # Create the executableCOMMENT
MEDIUM…ugins/ipythonconsole/utils/tests/test_spyder_kernel.py25 # Create a kernel specCOMMENT
MEDIUMspyder/plugins/ipythonconsole/widgets/main_widget.py2062 # Creating the clientCOMMENT
MEDIUMspyder/plugins/ipythonconsole/widgets/main_widget.py2284 # Create a new client if the console is about to become emptyCOMMENT
MEDIUMspyder/plugins/ipythonconsole/widgets/main_widget.py2341 # Create a new client if the console is about to become emptyCOMMENT
MEDIUMspyder/plugins/ipythonconsole/widgets/main_widget.py3041 # 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
MEDIUM…plugins/explorer/widgets/tests/test_remote_explorer.py62 # Create a couple of files with the UICOMMENT
71 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 Wrapping314 hits · 305 pts
SeverityFileLineSnippetContext
LOWspyder/requirements.py26 except Exception:CODE
LOWspyder/requirements.py59 except Exception as e:CODE
LOWspyder/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
LOWspyder/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
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py329 except Exception:CODE
LOWspyder/plugins/variableexplorer/widgets/arrayeditor.py648 except Exception:CODE
MEDIUMspyder/plugins/variableexplorer/widgets/arrayeditor.py525def load_more_data(self, value, rows=False, columns=False):CODE
LOWspyder/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.py329 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
254 more matches not shown…
Redundant / Tautological Comments153 hits · 215 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.py1313 # Close fileCOMMENT
LOWspyder/app/tests/test_mainwindow.py2941 # Close the fileSTRING
LOWspyder/app/tests/test_mainwindow.py5371 # Open file in one of our directories without an __init__ fileSTRING
LOWspyder/app/tests/test_mainwindow.py7765 # Set cwd to run filesSTRING
LOWspyder/app/tests/test_mainwindow.py7802 # 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.py1036 # 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.py2356 # 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
LOWspyder/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.py157 # 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.py1040 # 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.py1031 # Check if clients require a restart due to a change inCOMMENT
LOWspyder/plugins/ipythonconsole/widgets/main_widget.py2246 # 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.py289 # Set _starting to False to avoid reset at first promptCOMMENT
LOWspyder/plugins/ipythonconsole/widgets/shell.py561 # Check if there is a kernel that can be interrupted before tryingCOMMENT
LOWspyder/plugins/ipythonconsole/widgets/shell.py984 # 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
LOWspyder/plugins/completion/plugin.py762 # Check if there were any version changes between configurationsCOMMENT
LOWspyder/plugins/completion/plugin.py770 # Check if there are new default values and copy themCOMMENT
LOWspyder/plugins/completion/plugin.py777 # Check if default values were changed between versions,COMMENT
LOWspyder/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
93 more matches not shown…
Over-Commented Block195 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/main.py741 'history_filenames',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/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
135 more matches not shown…
Modern Structural Boilerplate138 hits · 131 pts
SeverityFileLineSnippetContext
LOWspyder/app/find_plugins.py21logger = logging.getLogger(__name__)CODE
LOWspyder/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
LOWspyder/plugins/pythonpath/container.py24logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/layout/plugin.py45logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/projects/plugin.py35logger = logging.getLogger(__name__)CODE
LOWspyder/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.py58logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/widgets/main_widget.py84logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/widgets/main_widget.py1599 def update_edit_menu(self) -> None:CODE
LOWspyder/plugins/ipythonconsole/widgets/client.py66logger = logging.getLogger(__name__)CODE
LOWspyder/plugins/ipythonconsole/widgets/shell.py55logger = 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
LOWspyder/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.py2056 self.widget.editor.source_model.sig_setting_data.connect(CODE
AI Structural Patterns33 hits · 29 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.py185CODE
LOWspyder/widgets/config.py556CODE
LOWspyder/widgets/config.py604CODE
LOWspyder/widgets/config.py788CODE
LOWspyder/widgets/config.py1021CODE
LOWspyder/widgets/collectionseditor.py2009CODE
LOWspyder/widgets/collectionseditor.py2284CODE
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.py385CODE
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