mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 15:53:00 +08:00
Support configurable python executable in format.sh (#7513)
This commit is contained in:
+4
-1
@@ -144,7 +144,10 @@ fi
|
||||
# Ensure import ordering
|
||||
# Make sure that for every import psutil; import setpproctitle
|
||||
# There's a import ray above it.
|
||||
python ci/travis/check_import_order.py . -s ci -s python/ray/pyarrow_files -s python/ray/thirdparty_files -s python/build -s lib
|
||||
|
||||
PYTHON_EXECUTABLE=${PYTHON_EXECUTABLE:-python}
|
||||
|
||||
$PYTHON_EXECUTABLE ci/travis/check_import_order.py . -s ci -s python/ray/pyarrow_files -s python/ray/thirdparty_files -s python/build -s lib
|
||||
|
||||
if ! git diff --quiet &>/dev/null; then
|
||||
echo 'Reformatted changed files. Please review and stage the changes.'
|
||||
|
||||
Reference in New Issue
Block a user