Skip to content

Commit 56e02de

Browse files
committed
setup flake
Signed-off-by: Chris Snow <[email protected]>
1 parent ad5f592 commit 56e02de

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ RUN sudo apt-get update \
88
&& sudo apt-get update \
99
&& sudo apt-get install -y python3.5 python3.6 python3.7 python3.8 python3.9 tox python3-sphinx vim
1010

11-
RUN pip install -U pylint pytest mock nose \
12-
&& pip3 install -U pylint pytest mock nose black \
11+
RUN pip install -U pylint pytest mock nose flake8-docstrings flake8-per-file-ignores==0.8.1 \
12+
&& pip3 install -U pylint pytest mock nose black flake8-docstrings flake8-per-file-ignores==0.8.1 \
1313
&& pip install -r /tmp/requirements.txt \
1414
&& pip3 install -r /tmp/requirements.txt
1515

1616
RUN echo 'PATH=$PATH:/home/theia/.local/bin/' > /home/theia/.bash_profile
1717

18-
ENV PYTHONPATH=/home/project:$PYTHONPATH
18+
ENV PYTHONPATH=/home/project:$PYTHONPATH

pre_push_verifications.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
set -e
44

55
black bin/ tests/ hpecp/
6-
flake8 hpecp bin
6+
7+
#flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
8+
flake8 --exclude hpecp/role.py --docstring-convention numpy bin/ hpecp/
9+
710
tox -- tests/
811

912
# coverage causes some tests to fail on PY3 so test it (issues 93)

0 commit comments

Comments
 (0)