Changeset View
Changeset View
Standalone View
Standalone View
.buildkite/dagster-buildkite/dagster_buildkite/steps/dagster.py
Show First 20 Lines • Show All 569 Lines • ▼ Show 20 Lines | def dagster_steps(): | ||||
steps += publish_test_images() | steps += publish_test_images() | ||||
steps += pylint_steps() | steps += pylint_steps() | ||||
steps += [ | steps += [ | ||||
StepBuilder(":isort:") | StepBuilder(":isort:") | ||||
.run( | .run( | ||||
"pip install isort>=4.3.21", | "pip install isort>=4.3.21", | ||||
"make isort", | "make isort", | ||||
"git diff --exit-code", | "git diff --exit-code", | ||||
alangenfeld: [1] | |||||
) | ) | ||||
.on_integration_image(SupportedPython.V3_7) | .on_integration_image(SupportedPython.V3_7) | ||||
.build(), | .build(), | ||||
StepBuilder(":python-black:") | StepBuilder(":python-black:") | ||||
# See: https://github.com/dagster-io/dagster/issues/1999 | .run("pip install pre-commit", "pre-commit run black --all-files") | ||||
alangenfeldUnsubmitted Not Done Inline Actionsdoes pre-commit run black --all-files return a failing exit code if it generates changes? if not may need to go with [1] alangenfeld: does `pre-commit run black --all-files` return a failing exit code if it generates changes? if… | |||||
.run("pip install -e python_modules/dagster[test]", "make check_black") | |||||
.on_integration_image(SupportedPython.V3_7) | .on_integration_image(SupportedPython.V3_7) | ||||
.build(), | .build(), | ||||
] | ] | ||||
for m in DAGSTER_PACKAGES_WITH_CUSTOM_TESTS: | for m in DAGSTER_PACKAGES_WITH_CUSTOM_TESTS: | ||||
steps += m.get_tox_build_steps() | steps += m.get_tox_build_steps() | ||||
steps += extra_library_tests() | steps += extra_library_tests() | ||||
Show All 12 Lines |
[1]