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 merge requests found
Pipeline #60268 failed with stages
in 3 minutes and 2 seconds
......@@ -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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment