2017-06-29 05:51:37 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Linting repository..."
|
|
|
|
source activate hosts
|
|
|
|
|
2018-08-03 19:51:08 +02:00
|
|
|
if [ "$PYTHON_VERSION" = "2.7" ]; then
|
|
|
|
echo "Skipping flake8 because it is broken on Python $PYTHON_VERSION"
|
|
|
|
else
|
|
|
|
flake8 --max-line-length 120
|
|
|
|
fi
|