enable black in 3.7
@@ -13,10 +13,8 @@ set -x
PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov=uvicorn --cov=tests --cov-report=term-missing ${@}
${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"
-elif [ "${PYTHON_VERSION}" = '3.6' ]; then
- ${PREFIX}black uvicorn tests --check
-elif [ "${PYTHON_VERSION}" = '3.5' ]; then
+if [ "${PYTHON_VERSION}" = '3.5' ]; then
echo "Skipping black, unavailable on 3.5."
+else
+ ${PREFIX}black uvicorn tests --check
fi
