Thonny black code format plugin
Automatically format your python code with Black!
Installation
- This can be easily installed via Thonny. Go to
Tools -> Manage plug-ins...
, typethonny-black-format
and click onFind package from PyPI
. Install the plugin and restart Thonny. - Alternatively, you can install via pip with
pip install --user thonny-black-format
Usage
There are two ways to run the plugin:
- Go to
Tools -> Format with Black
- Press
Ctrl+Alt+c
All changes will be automatically saved. If you prefer, you can undo them.
Contributing
Contributions are welcome! Feel free to sumbit an issue and/or a pull request.