Skip to content

Commit 47dcd2b

Browse files
Configure mypy to ignore missing imports during build (#2641)
1 parent 3bfb579 commit 47dcd2b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: utils/build-dists.py

+3
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def test_dist(dist):
121121
"--strict",
122122
"--install-types",
123123
"--non-interactive",
124+
"--ignore-missing-imports",
124125
os.path.join(base_dir, "test_elasticsearch/test_types/async_types.py"),
125126
)
126127

@@ -144,6 +145,7 @@ def test_dist(dist):
144145
"--strict",
145146
"--install-types",
146147
"--non-interactive",
148+
"--ignore-missing-imports",
147149
os.path.join(base_dir, "test_elasticsearch/test_types/sync_types.py"),
148150
)
149151
else:
@@ -154,6 +156,7 @@ def test_dist(dist):
154156
"--strict",
155157
"--install-types",
156158
"--non-interactive",
159+
"--ignore-missing-imports",
157160
os.path.join(
158161
base_dir, "test_elasticsearch/test_types/aliased_types.py"
159162
),

0 commit comments

Comments
 (0)