A plugin to run the autopep8 python linter from within the spyder editor.
Source > Format file or selection
or press the shortcut Ctrl + Alt + I
(Cmd + Alt + I
in macOS).This is a plugin to run the Autopep8 <https://pypi.python.org/pypi/autopep8>
_ Python linter from within the Python IDE Spyder <https://github.com/spyder-ide/spyder>
_ version 3.
::
spyder==3 autopep8
See https://github.com/spyder-ide/spyder/wiki/User-plugins. You can only install this plugin from source and with any version of Spyder 3.
Press Shift+F8 (default) to run autopep8 on the current file or go to Source > Run autopep8 code autoformatting
.
If some text is selected, autopep8 will run on this text only.
Informations about the execution will be displayed in the statusbar.
Autopep8 preferences:
.. image:: img_src/screenshot_preferences.png