diff --git a/changelogs/Spyder-6.md b/changelogs/Spyder-6.md index c210eb0d2ee..38908a0165b 100644 --- a/changelogs/Spyder-6.md +++ b/changelogs/Spyder-6.md @@ -7,21 +7,20 @@ * Add support to work with multiple cursors in the Editor. Options to configure them are available in `Preferences > Editor > Advanced settings`. * Rearchitect Profiler to run through the IPython console and add `%profilefile`, `%profilecell` and `%profile` magics for that. * Add a graphical interface to the update process of our standalone installers and base them in Python 3.12. -* Add support to use Ruff and Flake8 for linting in the Editor. +* Add support to use Ruff and Flake8 for linting in the Editor. Flake8 is the default now. * Plot histograms from the dataframe viewer. * Add support for Polars dataframes, frozen sets, Numpy string arrays and `pathlib.Path` objects to the Variable Explorer. * Show the remote file system in the Files pane when a remote console has focus. * Add support to connect to JupyterHub servers. * Add support to use Pixi environments in the IPython console. * Paths can be added to the front of `sys.path` in the Pythonpath manager. -* Copy/cut the current line if nothing is selected in the Editor with `Ctrl+C`/`Ctrl+X`, respectively. * Add option to show/hide the Editor's file name toolbar to `Preferences > Editor > Interface`. -* Select full floating point numbers by double-clicking them on the Editor and the IPython console. +* Add option to disable zoom with Ctrl + mouse wheel to `Preferences > Application > Advanced settings`. +* Add option to lint docstring with the Google style to `Preferences > Completion and linting > Linting`. ### Important fixes -* Much better support for PyQt6 and PySide6. PyQt 6.9.0+ and PySide >=6.8.0,<6.9.0 are required now. -* Make shortcuts to move to different panes work when they are undocked. +* Much better support for PyQt6 and PySide6. PyQt 6.9.0+ and PySide >=6.8.0,<6.9.0 are required now. * Remove blank lines around cells when copying their contents to the console. * Automatically kill kernels when Spyder crashes. * Disable magics and commands to call Python package managers in the IPython console because they don't work reliably there. @@ -30,11 +29,14 @@ ### UX/UI improvements -* Reorganize most menus to make them easier to navigate. +* Reorganize most menus and Preferences entries to make them easier to navigate. * Allow to zoom in/out with Ctrl + mouse wheel in the IPython console. +* Make shortcuts to move to different panes work when they are undocked. +* Copy/cut the current line if nothing is selected in the Editor with `Ctrl+C`/`Ctrl+X`, respectively. * Add `Shift+Alt+Right/Left` shortcuts to move to the next/previous console. * Add shortcut `Ctrl+W` to close Variable Explorer viewers. * Add option to hide all messages displayed in panes that are empty to `Preferences > Application > Interface`. +* Select full floating point numbers by double-clicking them on the Editor and the IPython console. * Fix plots looking blurred when scaling is enabled in high DPI screens. ### API changes diff --git a/spyder/config/lsp.py b/spyder/config/lsp.py index c80d20c932d..f8d6468f451 100644 --- a/spyder/config/lsp.py +++ b/spyder/config/lsp.py @@ -37,7 +37,7 @@ 'maxLineLength': 79 }, 'pyflakes': { - 'enabled': True + "enabled": False }, 'autopep8': { 'enabled': True @@ -122,7 +122,7 @@ 'args': [] }, 'flake8': { - 'enabled': False, + "enabled": True, 'exclude': [], 'extendSelect': [], 'extendIgnore': [], diff --git a/spyder/plugins/completion/providers/languageserver/provider.py b/spyder/plugins/completion/providers/languageserver/provider.py index c8da2ece60f..9550e7e69a6 100644 --- a/spyder/plugins/completion/providers/languageserver/provider.py +++ b/spyder/plugins/completion/providers/languageserver/provider.py @@ -58,9 +58,9 @@ class LanguageServerProvider(SpyderCompletionProvider): ('jedi_definition/follow_imports', True), ('jedi_signature_help', True), ('preload_modules', PRELOAD_MDOULES), - ('pyflakes', True), + ("pyflakes", False), ('mccabe', False), - ('flake8', False), + ("flake8", True), ('ruff', False), ('no_linting', False), ('formatting', 'autopep8'), @@ -94,7 +94,7 @@ class LanguageServerProvider(SpyderCompletionProvider): # want to *rename* options, then you need to do a MAJOR update in # version, e.g. from 0.1.0 to 1.0.0 # 3. You don't need to touch this value if you're just adding a new option - CONF_VERSION = "1.0.0" + CONF_VERSION = "1.1.0" CONF_TABS = TABS STOPPED = 'stopped'