From 14f274a6992ef4894bf3711151dcb9c529cb38b3 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Mon, 24 Apr 2023 17:48:23 +0200 Subject: [PATCH] Add mypy checks --- .circleci/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 86a1464df3..d01ae7260f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -87,6 +87,13 @@ jobs: # Ensures that all examples are built and avaiable cargo build - run: cargo test + - run: + name: mypy Python typechecks + command: | + pip install mypy + pythonfile=$(find target -name coverall.py) + mypy "$pythonfile" + Rust and Foreign Language tests - min supported rust: docker: - image: rfkelly/uniffi-ci:latest