mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-04 19:46:02 +02:00
Skip flake8 check on Python on 2.7
flake8 is broken with Python 2.7, but we have all other builds linting, so not an issue for us.
This commit is contained in:
parent
7a2ecfccff
commit
a2a7d12448
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user