Skip to content

Commit

Permalink
enable mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
gijzelaerr committed Aug 10, 2018
1 parent 5b45c94 commit 2f729ee
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
28 changes: 28 additions & 0 deletions docker/Dockerfile.ubuntu_bionic_py3_mypy
@@ -0,0 +1,28 @@
FROM ubuntu:bionic

ADD docker/docker-apt-install /usr/local/bin/docker-apt-install
RUN docker-apt-install \
gir1.2-gtk-3.0 \
gir1.2-notify-0.7 \
libnotify4 \
python3-gi \
python3-dbus \
python3-nacl \
python3-requests-oauthlib \
python3-future \
python3-dateutil \
python3-repoze.lru \
python3-pip \
python3-mock \
python3-setuptools \
python3-pytest \
python3-cryptography \
python3-qrcode \
python3-pillow \
pep8 \
mypy

ADD . /code
WORKDIR /code
RUN mypy eduvpn --ignore-missing-imports

1 change: 0 additions & 1 deletion docker/Dockerfile.ubuntu_bionic_py3_pep8
Expand Up @@ -25,4 +25,3 @@ RUN docker-apt-install \
ADD . /code
WORKDIR /code
RUN pep8 eduvpn --ignore=E501,E402,W391,W292
#RUN mypy eduvpn
4 changes: 4 additions & 0 deletions mypy.ini
@@ -0,0 +1,4 @@
[mypy]

[mypy-eduvpn.other_nm]
ignore_errors = True

0 comments on commit 2f729ee

Please sign in to comment.