Skip to content

Apache DataFusion SQL Query Engine

ARROW-2005: [Python] Fix incorrect flake8 config path to Cython lint config

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