Skip to content

Commit

Permalink
Configure mypy to ignore missing imports during build (#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg authored Aug 19, 2024
1 parent 3bfb579 commit 47dcd2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/build-dists.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)

Expand All @@ -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:
Expand All @@ -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"
),
Expand Down

0 comments on commit 47dcd2b

Please sign in to comment.