代码拉取完成,页面将自动刷新
pylint:
pylint -j 0 `git ls-files '*.py'` --rcfile=.pylintrc
update_doc_snapshot:
pytest docs --snapshot-update
black:
black examples integration_tests python_modules .buildkite --line-length 100 --target-version py36 --target-version py37 --target-version py38 --fast --exclude "build/|buck-out/|dist/|_build/|\.eggs/|\.git/|\.hg/|\.mypy_cache/|\.nox/|\.tox/|\.venv/|snapshots/|intro_tutorial/"
black examples/docs_snippets/docs_snippets/intro_tutorial --line-length 78 --target-version py36 --target-version py37 --target-version py38 --fast --exclude "build/|buck-out/|dist/|_build/|\.eggs/|\.git/|\.hg/|\.mypy_cache/|\.nox/|\.tox/|\.venv/|snapshots/"
check_black:
black examples python_modules .buildkite --check --line-length 100 --target-version py36 --target-version py37 --target-version py38 --fast --exclude "build/|buck-out/|dist/|_build/|\.eggs/|\.git/|\.hg/|\.mypy_cache/|\.nox/|\.tox/|\.venv/|snapshots/|intro_tutorial/"
black examples/docs_snippets/docs_snippets/intro_tutorial --check --line-length 78 --target-version py36 --target-version py37 --target-version py38 --fast --exclude "build/|buck-out/|dist/|_build/|\.eggs/|\.git/|\.hg/|\.mypy_cache/|\.nox/|\.tox/|\.venv/|snapshots/"
isort:
isort `git ls-files '*.py' ':!:examples/docs_snippets/docs_snippets/intro_tutorial'`
isort -l 78 `git ls-files 'examples/docs_snippets/docs_snippets/intro_tutorial/*.py'`
yamllint:
yamllint -c .yamllint.yaml --strict `git ls-files 'helm/**/*.yml' 'helm/**/*.yaml' ':!:helm/**/templates/*.yml' ':!:helm/**/templates/*.yaml'`
install_dev_python_modules:
python scripts/install_dev_python_modules.py -qqq
install_dev_python_modules_verbose:
python scripts/install_dev_python_modules.py
graphql:
cd js_modules/dagit/; make generate-types
sanity_check:
#NOTE: fails on nonPOSIX-compliant shells (e.g. CMD, powershell)
@echo Checking for prod installs - if any are listed below reinstall with 'pip -e'
@! (pip list --exclude-editable | grep -e dagster -e dagit)
rebuild_dagit: sanity_check
cd js_modules/dagit/; yarn install && yarn build-for-python
dev_install: install_dev_python_modules_verbose rebuild_dagit
dev_install_quiet: install_dev_python_modules rebuild_dagit
graphql_tests:
pytest python_modules/dagster-graphql/dagster_graphql_tests/graphql/ -s -vv
check_manifest:
check-manifest python_modules/dagster
check-manifest python_modules/dagit
check-manifest python_modules/dagster-graphql
ls python_modules/libraries | xargs -n 1 -Ipkg check-manifest python_modules/libraries/pkg
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。