Changeset View
Changeset View
Standalone View
Standalone View
.buildkite/dagster-buildkite/dagster_buildkite/module_build_spec.py
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | def get_tox_build_steps(self): | ||||
.build() | .build() | ||||
) | ) | ||||
# We expect the tox file to define a mypy testenv, and we'll construct a separate | # We expect the tox file to define a mypy testenv, and we'll construct a separate | ||||
# buildkite build step for the mypy testenv. | # buildkite build step for the mypy testenv. | ||||
if self.directory not in MYPY_EXCLUDES: | if self.directory not in MYPY_EXCLUDES: | ||||
tests.append( | tests.append( | ||||
StepBuilder(f":mypy: {package}") | StepBuilder(f":mypy: {package}") | ||||
.run( | .run("pip install mypy==0.812", f"mypy --config-file mypy/config {self.directory}") | ||||
"pip install mypy==0.790", | |||||
f"mypy --config-file mypy/config {self.directory}", | |||||
) | |||||
.on_integration_image(SupportedPython.V3_7) | .on_integration_image(SupportedPython.V3_7) | ||||
.build() | .build() | ||||
) | ) | ||||
return tests | return tests |