From 325b1bf7f7f274f3f3875c046df54115eaa383f9 Mon Sep 17 00:00:00 2001 From: Pol Alvarez Vecino Date: Mon, 10 Dec 2018 11:44:23 +0100 Subject: [PATCH] fixed: flake8 style Signed-off-by: Pol Alvarez Vecino --- Dockerfile | 12 ++---------- run_style.sh | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 17d3aadb..b973c111 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,18 +4,10 @@ MAINTAINER COMPSs Support # Enable ssh to localhost -RUN pip3 install codecov coverage flake8 matplotlib && \ - yes yes | ssh-keygen -f /root/.ssh/id_rsa -t rsa -N '' > /dev/null && \ +RUN yes yes | ssh-keygen -f /root/.ssh/id_rsa -t rsa -N '' > /dev/null && \ cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys -COPY dislib dislib/dislib -COPY examples dislib/examples -COPY tests dislib/tests -COPY run_tests.sh /dislib/ -COPY run_coverage.sh /dislib/ -COPY bin/cfg.sh / -COPY bin/generate_project.sh / -COPY bin/generate_resources.sh / +COPY . dislib/ ENV PATH=$PATH:/opt/COMPSs/Runtime/scripts/user:/opt/COMPSs/Bindings/c/bin ENV CLASSPATH=$CLASSPATH:/opt/COMPSs/Runtime/compss-engine.jar diff --git a/run_style.sh b/run_style.sh index 400d3b13..1e30625a 100755 --- a/run_style.sh +++ b/run_style.sh @@ -1 +1 @@ -flake8 dislib +python3 -m flake8 /dislib