diff --git a/ci/lint.sh b/ci/lint.sh index 0a25aba33..3d9995870 100755 --- a/ci/lint.sh +++ b/ci/lint.sh @@ -3,4 +3,8 @@ echo "Linting repository..." source activate hosts -flake8 --max-line-length 120 +if [ "$PYTHON_VERSION" = "2.7" ]; then + echo "Skipping flake8 because it is broken on Python $PYTHON_VERSION" +else + flake8 --max-line-length 120 +fi