Skip to content
Snippets Groups Projects
Commit 3dc23f7a authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: add mypy to check type hints

parent fb1da439
No related branches found
No related tags found
2 merge requests!143Release 0.15.0,!66F mypy
Pipeline #11782 canceled
......@@ -50,6 +50,12 @@ pylint:
- pylint3 --unsafe-load-any-extension=y -d all -e E,F src/caosdb/common
allow_failure: true
mypy:
tags: [ docker ]
stage: linting
script:
- mypy src/caosdb
allow_failure: true
# pylint tests for pycaosdb
test:
......
......@@ -7,4 +7,4 @@ RUN apt-get update && \
ARG COMMIT="dev"
RUN git clone -b dev https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git && \
cd caosdb-pylib && git checkout $COMMIT && pip3 install .
RUN pip3 install recommonmark sphinx-rtd-theme
RUN pip3 install recommonmark sphinx-rtd-theme mypy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment