From 6d26b81278a22c64bcf8a5c85927dfd7740685b7 Mon Sep 17 00:00:00 2001 From: "Mayr, Hannes" <hannes.mayr@stud.tu-darmstadt.de> Date: Wed, 2 Nov 2022 15:36:45 +0100 Subject: [PATCH] Add type checking. --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89f728c..6f23dbf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,14 @@ Autoformatting: script: - pip install black - black --check --verbose --diff --color . - + +Typechecker: + stage: linting + script: + - pip install mypy + - mypy --ignore-missing-imports --strict plotid tests examples + - allow_failure: true + test: stage: testing tags: -- GitLab