Skip to content

Commit b6744e4

Browse files
committed
temporary yapf mod
1 parent feeb3a8 commit b6744e4

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.travis/yapf.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,10 @@ builtin cd "$ROOT"
1111

1212
yapf \
1313
--style "$ROOT/.style.yapf" \
14-
--in-place --recursive --parallel \
14+
--diff --recursive --parallel \
1515
--exclude 'python/ray/cloudpickle' \
1616
--exclude 'python/ray/dataframe' \
1717
--exclude 'python/ray/rllib' \
1818
-- \
1919
'test' 'python'
2020

21-
if ! git diff --quiet; then
22-
echo 'Reformatted staged files. Please review and stage the changes.'
23-
echo 'Files updated:'
24-
echo
25-
26-
git --no-pager diff --name-only
27-
28-
exit 1
29-
fi

0 commit comments

Comments
 (0)