[7.x] Test typing metadata in build-dist script

This commit is contained in:
Seth Michael Larson
2020-10-20 15:22:43 -05:00
committed by Seth Michael Larson
parent 0cdeeb654a
commit 2ce9fd3914
7 changed files with 235 additions and 4 deletions
+2 -1
View File
@@ -59,7 +59,8 @@ def lint(session):
# Run mypy on the package and then the type examples separately for
# the two different mypy use-cases, ourselves and our users.
session.run("mypy", "--strict", "elasticsearch/")
session.run("mypy", "--strict", "test_elasticsearch/test_types/")
session.run("mypy", "--strict", "test_elasticsearch/test_types/sync_types.py")
session.run("mypy", "--strict", "test_elasticsearch/test_types/async_types.py")
# Make sure we don't require aiohttp to be installed for users to
# receive type hint information from mypy.