Socket
Book a DemoInstallSign in
Socket

jupyterlab-code-formatter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jupyterlab-code-formatter

A JupyterLab plugin to facilitate invocation of code formatters.

pipPyPI
Version
3.0.2
Maintainers
1

Extension status GitHub Action Status Binder pypi-version

A JupyterLab plugin to facilitate invocation of code formatters.

Documentation: Hosted on ReadTheDocs

Demo

Quick Start

I recommend you going to the documentation site, but this should work too.

  • Install the package
pip install jupyterlab-code-formatter
  • Install some supported formatters (isort+black are default for Python)
# NOTE: Install black and isort,
#       JL code formatter is configured to invoke isort and black by default
pip install black isort
  • Restart JupyterLab

This plugin includes a server plugin, restart JupyterLab if you have followed the above steps while it's running.

  • Configure plugin

To configure which/how formatters are invoked, see configuration.

Getting help

If you don't use Discord then feel free to open a GitHub issue, do note I am a bit slower in responding in GitHub.

Your Support

I could really use your support in giving me a star on GitHub, recommending features or fixing bugs.

Contributors

This extension was originally developed and maintained by @ryantam626. Massive thanks to the below list of people who made past contributions to the project!

License

This project is licensed under the terms of the MIT LICENSE .

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts