mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-10-05 06:11:13 +01:00
Reformating of lint.sh as ${PYTHON_VERSION} should not have a 2.x version (cf: .travis.yml)
This commit is contained in:
+1
-5
@@ -3,8 +3,4 @@
|
||||
echo "Linting repository..."
|
||||
source activate hosts
|
||||
|
||||
if [ "$PYTHON_VERSION" = "2.7" ]; then
|
||||
echo "Skipping flake8 because it is broken on Python $PYTHON_VERSION"
|
||||
else
|
||||
flake8 --max-line-length 120
|
||||
fi
|
||||
flake8 --max-line-length 120
|
||||
|
||||
Reference in New Issue
Block a user