From 2f36f08e1c44be155f15826609d1a73ce554be8d Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Thu, 26 Sep 2024 15:08:31 -0400 Subject: [PATCH 1/2] Revert "stop ignoring missing imports for the now-hinted clvm library" This reverts commit b447eaa001262618dc896e4d806bb43c88a6e4fd. --- mypy.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mypy.ini b/mypy.ini index 5b5cedc9..0529a826 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,4 +1,7 @@ [mypy] +[mypy-clvm.*] +ignore_missing_imports = True + [mypy-colorama.*] ignore_missing_imports = True From 582f59b9d96b07852835c2e4ac7d3dea4d8e52e0 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Thu, 26 Sep 2024 15:10:02 -0400 Subject: [PATCH 2/2] move mypy config into config, and be specific with ignores --- .github/workflows/benchmark.yml | 2 +- mypy.ini | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 8d9b2029..7110562d 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -65,7 +65,7 @@ jobs: - name: python mypy run: | - mypy --ignore-missing-imports tests + mypy tests - name: python mypy stubtest shell: bash diff --git a/mypy.ini b/mypy.ini index 0529a826..9a3de1aa 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,8 @@ [mypy] +[mypy-blspy.*] +ignore_missing_imports = True + [mypy-clvm.*] ignore_missing_imports = True