Skip to content
Snippets Groups Projects
Commit 09d6b6e7 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

mypy type checking CI task

parent bcd147bb
No related branches found
No related tags found
No related merge requests found
Pipeline #60268 failed
......@@ -275,7 +275,7 @@ pycodegen-integration:
reports:
junit: pycodegen/*/report.xml
# -------------------- Linter & Documentation --------------------------------------------------------------------------
# -------------------- Linter, Type Checker & Documentation ---------------------------------------------------------------------
flake8-lint:
......@@ -289,6 +289,19 @@ flake8-lint:
tags:
- docker
mypy-typecheck:
stage: pretest
except:
variables:
- $ENABLE_NIGHTLY_BUILDS
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full
before_script:
- pip install -e .[tests]
script:
- mypy src/pystencils
tags:
- docker
build-documentation:
stage: test
......
......@@ -59,6 +59,7 @@ tests = [
'ansi2html',
'pytest-xdist',
'flake8',
'mypy>=1.8',
'nbformat',
'nbconvert',
'ipython',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment