From d0755838b3911971e9ea2876ce491f2d2b057c2d Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 23 Nov 2018 13:02:20 +0000 Subject: [PATCH] Disable deprecation warnings (triggered by third party packages) --- scripts/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test b/scripts/test index 5c9df8e0..256e0c99 100755 --- a/scripts/test +++ b/scripts/test @@ -10,7 +10,7 @@ export PYTHON_VERSION=`python -c "$VERSION_SCRIPT"` set -x -PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov=starlette --cov=tests --cov-fail-under=100 --cov-report=term-missing ${@} +PYTHONPATH=. ${PREFIX}pytest --ignore venv -W ignore::DeprecationWarning --cov=starlette --cov=tests --cov-fail-under=100 --cov-report=term-missing ${@} ${PREFIX}mypy starlette --ignore-missing-imports --disallow-untyped-defs if [ "${PYTHON_VERSION}" = '3.7' ]; then echo "Skipping 'black' on 3.7. See issue https://github.com/ambv/black/issues/494"