From d8b8a281ca11acc0ef94855fd2252e9de8396192 Mon Sep 17 00:00:00 2001 From: jirka Date: Thu, 18 Jul 2024 15:11:26 +0200 Subject: [PATCH 1/3] ci: update mypy check --- .github/workflows/check-typing.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-typing.yml b/.github/workflows/check-typing.yml index dfae22fd..6454a40e 100644 --- a/.github/workflows/check-typing.yml +++ b/.github/workflows/check-typing.yml @@ -61,7 +61,9 @@ jobs: unfold: true # see: https://github.com/python/mypy/issues/10600#issuecomment-857351152 - - run: yes | mypy . --install-types || true + - name: init mypy + continue-on-error: true + run: mypy --install-types --non-interactive . - name: Check typing # mypy uses the config file found in the following order: From e2243e9c3e630e886c01415443ca5257fa036a64 Mon Sep 17 00:00:00 2001 From: jirka Date: Thu, 18 Jul 2024 15:18:34 +0200 Subject: [PATCH 2/3] chlog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6ebe920..9a60a827 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - CI: rename `import-extras` to `custom-import` in package check ([#287](https://github.com/Lightning-AI/utilities/pull/287)) +### Fixed + +- CI: update type/`mypy` check ([#288](https://github.com/Lightning-AI/utilities/pull/288)) + ## [0.11.4] - 2024-07-15 ### Changed From 84849ab7aacd0fc3b927c04b5461b3971fb98182 Mon Sep 17 00:00:00 2001 From: jirka Date: Thu, 18 Jul 2024 15:31:10 +0200 Subject: [PATCH 3/3] mkdir --- .github/workflows/check-typing.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-typing.yml b/.github/workflows/check-typing.yml index 6454a40e..d1f53b6d 100644 --- a/.github/workflows/check-typing.yml +++ b/.github/workflows/check-typing.yml @@ -63,7 +63,9 @@ jobs: # see: https://github.com/python/mypy/issues/10600#issuecomment-857351152 - name: init mypy continue-on-error: true - run: mypy --install-types --non-interactive . + run: | + mkdir -p .mypy_cache + mypy --install-types --non-interactive . - name: Check typing # mypy uses the config file found in the following order: