Skip flake8 check on Python on 2.7
authorgfyoung <redacted>
Fri, 3 Aug 2018 17:51:08 +0000 (10:51 -0700)
committergfyoung <redacted>
Tue, 7 Aug 2018 07:14:56 +0000 (00:14 -0700)
flake8 is broken with Python 2.7, but
we have all other builds linting, so
not an issue for us.

ci/lint.sh

index 0a25aba33f37b9303ae5f993c81f477dfccc3ca0..3d99958706924e3fa0421b1ca17fdf6b7de95522 100755 (executable)
@@ -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
git clone https://git.99rst.org/PROJECT