From 73f95d160140fd79a76aa606f103a46afe89b47a Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Wed, 14 Aug 2024 09:30:05 +0100 Subject: [PATCH] Configure mypy to ignore missing imports during build --- utils/build-dists.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/build-dists.py b/utils/build-dists.py index 15187c5a9..ec8083103 100644 --- a/utils/build-dists.py +++ b/utils/build-dists.py @@ -121,6 +121,7 @@ def test_dist(dist): "--strict", "--install-types", "--non-interactive", + "--ignore-missing-imports", os.path.join(base_dir, "test_elasticsearch/test_types/async_types.py"), ) @@ -144,6 +145,7 @@ def test_dist(dist): "--strict", "--install-types", "--non-interactive", + "--ignore-missing-imports", os.path.join(base_dir, "test_elasticsearch/test_types/sync_types.py"), ) else: @@ -154,6 +156,7 @@ def test_dist(dist): "--strict", "--install-types", "--non-interactive", + "--ignore-missing-imports", os.path.join( base_dir, "test_elasticsearch/test_types/aliased_types.py" ),