Thanks to visit codestin.com Credit goes to github.com
There was an error while loading. Please reload this page.
1 parent 3f0af16 commit 83c92a1Copy full SHA for 83c92a1
1 file changed
build_tools/travis/flake8_diff.sh
@@ -128,7 +128,7 @@ check_files() {
128
options="$2"
129
# Conservative approach: diff without context (--unified=0) so that code
130
# that was not changed does not create failures
131
- git diff --unified=0 $COMMIT -- $files | flake8 --diff --show-source $options
+ git diff --unified=0 $COMMIT_RANGE -- $files | flake8 --diff --show-source $options
132
}
133
134
if [[ "$MODIFIED_FILES" == "no_match" ]]; then
0 commit comments