nebari icon indicating copy to clipboard operation
nebari copied to clipboard

[enhancement] Add the black labextension

Open rsignell-usgs opened this issue 3 years ago • 2 comments

Description

Would be cool to have the Black labextension available to Qhub users: https://coiled.io/blog/code-formatting-jupyter-notebooks-with-black/

rsignell-usgs avatar Oct 14 '21 12:10 rsignell-usgs

Hi @rsignell-usgs, could you try adding it to one of your conda environments (in the qhub-config.yaml) and redeploying? Although I haven't tried this with a qhub deployment yet, testing it in local jupyter lab session seemed to work :)

iameskild avatar Oct 19 '21 05:10 iameskild

@iameskild, I believe lab extensions need to get added into the environment that launches jupyterlab, not one of my defined conda environments. Is this right @tylerpotts, @aktech or @costrouc ?

rsignell-usgs avatar Oct 25 '21 15:10 rsignell-usgs

@iameskild or @viniciusdc I think this should be easy to add to the new Docker images now that they are in nebari-dev can either of you take this on?

trallard avatar Sep 22 '22 12:09 trallard

@trallard @rsignell-usgs I've raised a PR to add jupyterlab_code_formatter :) https://github.com/nebari-dev/nebari-docker-images/pull/26

iameskild avatar Sep 22 '22 23:09 iameskild