Skip to content

Apache DataFusion SQL Query Engine

ARROW-2395: [Python] Fix flake8 warnings outside of pyarrow/ directory. Check in CI

Wes McKinney2e29b64f7caa
diff --git a/ci/travis_lint.sh b/ci/travis_lint.sh
index 0cbdf1a5cb..7cdbad4a31 100755
--- a/ci/travis_lint.sh
+++ b/ci/travis_lint.sh
@@ -43,9 +43,9 @@ if [ "$ARROW_CI_PYTHON_AFFECTED" != "0" ]; then
PYTHON_DIR=$TRAVIS_BUILD_DIR/python
- flake8 --count $PYTHON_DIR/pyarrow
+ flake8 --count $PYTHON_DIR
# Check Cython files with some checks turned off
flake8 --count --config=$PYTHON_DIR/.flake8.cython \
- $PYTHON_DIR/pyarrow
+ $PYTHON_DIR
fi