-
-
Notifications
You must be signed in to change notification settings - Fork 6
Feature Request Black for JupyterLab #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You are welcome.
Use the images with the
Those include extension Black Formatter. |
Oh, nice but this will require me to use the code server instance right? I tried this but the last time it was't able to open my ipynb files, it showed the markdown outline, but the code was never displayed, so I was hoping for an extension that somehow works with the jupyterlab instance. |
Yes.
Most likely you are not using HTTPS. This is required for Jupyter notebooks. HTTP only works for Cross references: |
Yeah I guess this might be the issue as this is behind the firwall up until now I was not bothering with Transport encryption but I will try to set something up to handle TLS, I guess a reverse proxy infront of the docker exposed port will be the easiest option. |
About customisation:
ℹ️ JupyterLab: You should be able to modify at runtime via Settings > Advanced Settings Editor [> JSON Settings Editor]. |
Need to fix Line 8 in 6c3e775
Should be ℹ️ Otherwise the override has no effect. |
– Common Features — Docker Stacks documentation > Additional runtime configurations Use – Common Features — Docker Stacks documentation > SSL Certificates |
Fixed |
@agoertz-fls Please close this issue if my information has helped you configuring black (formatter) in JupyterLab and enable TLS encryption. Thank you. |
Thanks a lot, I will try to customize the image based on that information, if someone comes across this and writes a nice tutorial how to use your images as a base and customize on it by installing additional python packages and overwrites like the one above would be great, I guess I won't find the time in the foreseeable future. |
Hi,
first I have to thank you for this grate GPU enabled images.
I was wondering if you could add a code-formatter preferably black to the jupyterlab instance. I found that there is a python-lsp-black for the Language Server but I did not manage to get it running from within the image and the docker image building process currently fails on my machine. It would be really nice to have an easy option to reformat cells in the notebook automatically.
Kind regards,
Alex
The text was updated successfully, but these errors were encountered: