From c9b38cd29e6533050b119bcf1925ba834f97c8f7 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sat, 4 Jun 2022 20:12:38 +0300 Subject: [PATCH] add mypy strict check (not failing) --- .github/workflows/pythonpackage.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 159a5fe..4e47bb5 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -45,6 +45,10 @@ jobs: mkdir mypy_report poetry run mypy --pretty --html-report mypy_report/ . + - name: Check type annotations with mypy strict mode (not failing) + run: | + poetry run mypy --strict --pretty . || true + - name: Upload mypy report uses: actions/upload-artifact@v2 with: