Skip to main content

A plugin to format your python code with Black in Thonny IDE.

Project description

Thonny black code format plugin

Code style: black PyPI version PyPI py versions PYPI license Continuous Integration - Ubuntu Continuous Integration - OSX Continuous Integration - Windows

Automatically format your python code with Black!

Installation

  1. This can be easily installed via Thonny. Go to Tools -> Manage plug-ins..., type thonny-black-format and click on Find package from PyPI. Install the plugin and restart Thonny.
  2. Alternatively, you can install via pip with pip install --user thonny-black-format

Usage

There are two ways to run the plugin:

  1. Go to Tools -> Format with Black
  2. 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.

Useful links:

PyPI

Thonny

Black

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thonny-black-format-0.0.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

thonny_black_format-0.0.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file thonny-black-format-0.0.4.tar.gz.

File metadata

  • Download URL: thonny-black-format-0.0.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for thonny-black-format-0.0.4.tar.gz
Algorithm Hash digest
SHA256 712ea57c8bc6653e0a9f95ae5f8e03cb8e720bfb39379cb26d4a4d4b2607f4ca
MD5 d1285f0f291641521ea7d42ab6a31804
BLAKE2b-256 b335ce1c787dfd851f89ea90d84ee630ededbd8761e5bd6141a212654b1e8722

See more details on using hashes here.

File details

Details for the file thonny_black_format-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: thonny_black_format-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for thonny_black_format-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 172fb484b7aa1a56923ff5f6bc6f53271cf82d6a84dd4c4bac64f74f17d27d97
MD5 c28a9d00754c51f1928381000ef9982b
BLAKE2b-256 61dbcbf3562bf30eee6fdb517881920504c197673e3b09535daa4c5635486cf5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page