From a54181294a924a4142cc2685483bc4a98402399e Mon Sep 17 00:00:00 2001 From: tholok97 <thomas.lokkeborg@mimer.no> Date: Tue, 25 Feb 2020 21:02:03 +0100 Subject: [PATCH] #14 ignorerer ny pylint feil MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit oppdaterer også Dockerfile til å installere med Python3.7 sin pip --- Dockerfile | 6 ++++-- scripts/.pylintrc | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c99b570..f41fb0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,11 +24,13 @@ RUN apt-get install -y libegl1-mesa-dev \ WORKDIR /code COPY requirements.txt requirements.txt -RUN pip3 install -r requirements.txt +RUN python3.7 -m pip install setuptools +RUN python3.7 -m pip install -r requirements.txt + +# Set the locale # Necessary for container to properly handle æøå # See issue #10 -# inspired by https://stackoverflow.com/a/28406007/3545896 RUN apt-get install -y locales RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 diff --git a/scripts/.pylintrc b/scripts/.pylintrc index 43b2b9b..c97d4e3 100644 --- a/scripts/.pylintrc +++ b/scripts/.pylintrc @@ -141,7 +141,8 @@ disable=print-statement, comprehension-escape, E0611, I1101, - E1101 + E1101, + R0903 # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option -- GitLab