@@ -66,7 +66,7 @@ def test_dist(dist):
66
66
# Build the venv and install the dist
67
67
run ("python" , "-m" , "venv" , os .path .join (tmp_dir , "venv" ))
68
68
venv_python = os .path .join (tmp_dir , "venv/bin/python" )
69
- run (venv_python , "-m" , "pip" , "install" , "-U" , "pip" , "mypy" )
69
+ run (venv_python , "-m" , "pip" , "install" , "-U" , "pip" , "mypy==1.0.0 " )
70
70
run (venv_python , "-m" , "pip" , "install" , dist )
71
71
72
72
# Test the sync namespaces
@@ -114,6 +114,8 @@ def test_dist(dist):
114
114
"-m" ,
115
115
"mypy" ,
116
116
"--strict" ,
117
+ "--install-types" ,
118
+ "--non-interactive" ,
117
119
os .path .join (base_dir , "test_elasticsearch/test_types/async_types.py" ),
118
120
)
119
121
@@ -135,6 +137,8 @@ def test_dist(dist):
135
137
"-m" ,
136
138
"mypy" ,
137
139
"--strict" ,
140
+ "--install-types" ,
141
+ "--non-interactive" ,
138
142
os .path .join (base_dir , "test_elasticsearch/test_types/sync_types.py" ),
139
143
)
140
144
else :
@@ -143,6 +147,8 @@ def test_dist(dist):
143
147
"-m" ,
144
148
"mypy" ,
145
149
"--strict" ,
150
+ "--install-types" ,
151
+ "--non-interactive" ,
146
152
os .path .join (
147
153
base_dir , "test_elasticsearch/test_types/aliased_types.py"
148
154
),
0 commit comments