Spyder Black plugin to format python code using black

179 views
Skip to first unread message

Kiko correoso garcia

unread,
Mar 20, 2019, 5:13:45 PM3/20/19
to spyder
Hi all,

I coded a plugin to integrate black (https://github.com/ambv/black) within Spyder.

The plugin is a 99% copy&paste from spyder.autopep8 plugin (https://github.com/spyder-ide/spyder-autopep8) trying to adapt the code to work with Spyder3 and Spyder4.

I have to better shape the black configuration into the plugin but it is usable as it is right now.

The repo is here:

In the README you can find how to install and use the plugin.

I would like to know if I'm doing something wrong or if there are better ways to do the same in a more elegant way as I do not know the Spyder code very deeply (it is a huge codebase, thanks for the work).

If it is useful I would upload the package to pypi/conda but before I would like to read your comments/ideas/criticisms.

Kind regards.
Reply all
Reply to author
Forward
0 new messages