Skip to main content

Run `black` on python code blocks in documentation files (also for jupyterbook)

Project description

blacken-docs-jb

Extension of blancken-docs which also supports the executable code blocks from JupyterBook e.g

```{code-cell} python
x = 1 + 2
```

install

pip install blacken-docs-jb

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

blacken_docs_jb-0.2.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

blacken_docs_jb-0.2.0-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file blacken_docs_jb-0.2.0.tar.gz.

File metadata

  • Download URL: blacken_docs_jb-0.2.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for blacken_docs_jb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 87ecb56dd3167fbd1206bfce7bbacc09a5fdd2c0cae291f5aeea5e3923737c44
MD5 6c2090a0fe543c4224b1c1935db6e4d7
BLAKE2b-256 7d9e66f2ab72abcd16a05f76ddafc46ae8e2cca0bac924e40952d7437574fff2

See more details on using hashes here.

File details

Details for the file blacken_docs_jb-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for blacken_docs_jb-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e72962948097a4cab33ef5d452b5077a850c8c72c8903f06e362b0a5e5a55a25
MD5 242f7b607e21fc4d75e6ff79d8939194
BLAKE2b-256 3515e3d0c0a4071fa75988408c74b578732dac4e6058fa3e707b959578f1d165

See more details on using hashes here.

Supported by

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