From f50deb01a7100af6668a8242b1de2373a721c656 Mon Sep 17 00:00:00 2001 From: Julian <julian@edyoucated.org> Date: Sat, 16 Mar 2024 20:22:18 +0100 Subject: [PATCH] added flake8 as linter for the jupyterlab --- Dockerfile | 3 +++ requirements.txt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index b2dd42d..7454dc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ RUN conda env update -q -f /tmp/environment.yml && \ jupyter lab build RUN pip3 install --upgrade pip +RUN pip install jupyterlab_flake8 COPY dash_proxy /tmp/dash_proxy/ RUN pip install /tmp/dash_proxy/ @@ -19,3 +20,5 @@ RUN pip install /llm_utils/ COPY app /dash/app/ RUN chown -R jovyan /dash/app/ + +COPY config.txt ${HOME}/ diff --git a/requirements.txt b/requirements.txt index cf2d387..5338915 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,11 +2,14 @@ jupyter-server-proxy==4.0.0 jupyterlab-git==0.42.0 jupyter_server>=2.0 +flake8 + dash dash-bootstrap-components plotly openai rapidfuzz +nltk python-dotenv -- GitLab