git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7a2ecfc
)
Skip flake8 check on Python on 2.7
author
gfyoung
<redacted>
Fri, 3 Aug 2018 17:51:08 +0000
(10:51 -0700)
committer
gfyoung
<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
patch
|
blob
|
history
diff --git
a/ci/lint.sh
b/ci/lint.sh
index 0a25aba33f37b9303ae5f993c81f477dfccc3ca0..3d99958706924e3fa0421b1ca17fdf6b7de95522 100755
(executable)
--- 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
git clone https://git.99rst.org/PROJECT