Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build_tools/travis/flake8_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ check_files() {
options="$2"
# Conservative approach: diff without context (--unified=0) so that code
# that was not changed does not create failures
git diff --unified=0 $COMMIT -- $files | flake8 --diff --show-source $options
git diff --unified=0 $COMMIT_RANGE -- $files | flake8 --diff --show-source $options
}

if [[ "$MODIFIED_FILES" == "no_match" ]]; then
Expand Down