Skip isort on 3.5 as it appears to have different sorting behavior
@@ -15,7 +15,11 @@ ${PREFIX}coverage html
${PREFIX}autoflake --recursive uvicorn tests
if [ "${PYTHON_VERSION}" = '3.7' ]; then
echo "Skipping 'black' on 3.7. See issue https://github.com/ambv/black/issues/494"
+ ${PREFIX}isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --check-only uvicorn tests
elif [ "${PYTHON_VERSION}" = '3.6' ]; then
${PREFIX}black uvicorn tests --check
-fi
${PREFIX}isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --check-only uvicorn tests
+elif [ "${PYTHON_VERSION}" = '3.5' ]; then
+ echo "Skipping black, unavailable on 3.5."
+ echo "Skipping isort, due to import sorting differences on Python 3.5."
+fi
