Skip to content
Snippets Groups Projects
Commit 4853f00c authored by calrama's avatar calrama
Browse files

[jupyterhub] Add jupyterlab code formatting extension + black&isort

parent c82b09ad
No related branches found
No related tags found
No related merge requests found
Pipeline #31344 passed
...@@ -32,7 +32,12 @@ RUN python${PYTHON_VERSION} -m pip --no-cache-dir install \ ...@@ -32,7 +32,12 @@ RUN python${PYTHON_VERSION} -m pip --no-cache-dir install \
jupyter-webrtc \ jupyter-webrtc \
ipyvolume \ ipyvolume \
jupyter-threejs \ jupyter-threejs \
@axlair/jupyterlab_vim @axlair/jupyterlab_vim \
&& \
python${PYTHON_VERSION} -m jupyter labextension install @ryantam626/jupyterlab_code_formatter && \
python${PYTHON_VERSION} -m pip --no-cache-dir install jupyterlab_code_formatter && \
python${PYTHON_VERSION} -m jupyter serverextension enable --sys-prefix --py jupyterlab_code_formatter && \
python${PYTHON_VERSION} -m pip --no-cache-dir install black isort
RUN mkdir -p ~/.venv && \ RUN mkdir -p ~/.venv && \
python${PYTHON_VERSION} -m venv ~/.venv/robofish && \ python${PYTHON_VERSION} -m venv ~/.venv/robofish && \
...@@ -42,6 +47,8 @@ RUN mkdir -p ~/.venv && \ ...@@ -42,6 +47,8 @@ RUN mkdir -p ~/.venv && \
pip install tensorflow==1.15.3 && \ pip install tensorflow==1.15.3 && \
pip --no-cache-dir install \ pip --no-cache-dir install \
wheel \ wheel \
black \
isort \
scipy \ scipy \
matplotlib \ matplotlib \
pandas \ pandas \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment