Skip to content

Apache DataFusion SQL Query Engine

ARROW-1711: [Python] Fix flake8 calls to lint the right directories

Wes McKinney4a335e4b44e3
diff --git a/ci/travis_lint.sh b/ci/travis_lint.sh
index 9b7b474524..8c956646cb 100755
--- a/ci/travis_lint.sh
+++ b/ci/travis_lint.sh
@@ -31,10 +31,10 @@ popd
# Fail fast on style checks
sudo pip install flake8
-PYARROW_DIR=$TRAVIS_BUILD_DIR/python
+PYARROW_DIR=$TRAVIS_BUILD_DIR/python/pyarrow
-flake8 --count $PYTHON_DIR/pyarrow
+flake8 --count $PYARROW_DIR
# Check Cython files with some checks turned off
flake8 --count --config=$PYTHON_DIR/.flake8.cython \
- $PYTHON_DIR/pyarrow
+ $PYARROW_DIR