Skip to content

Commit

Permalink
Restore lint check to what it used to be. (facebookresearch#3233)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenroller authored Oct 28, 2020
1 parent bc1bf58 commit af3a069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoformat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fi
if [[ $RUN_ALL_FILES -eq 1 ]]; then
CHECK_FILES="$(git $REPO ls-files | grep '\.py$' | reroot $ROOT | onlyexists $ROOT | tr '\n' ' ')"
else
CHECK_FILES="$(git $REPO diff --name-only master | grep '\.py$' | reroot $ROOT | onlyexists | tr '\n' ' ')"
CHECK_FILES="$(git $REPO diff --name-only master... | grep '\.py$' | reroot $ROOT | onlyexists | tr '\n' ' ')"
fi

# if we're doing all the tests, we should run them in serial
Expand Down

0 comments on commit af3a069

Please sign in to comment.