mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-19 00:30:19 +00:00
Merge pull request #737 from gfyoung/skip-flake8-python2.x
Skip flake8 check on Python on 2.7
This commit is contained in:
1 file changed
+5
-1
+5
-1
@@ -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
|
||||
Reference in new issue
Block a user