From 60c0fccff69d02a9e16b9803e7514d95843e43d5 Mon Sep 17 00:00:00 2001 From: "J.R. Leeman" Date: Thu, 27 Sep 2018 15:30:17 -0600 Subject: [PATCH] Turn metpy deprecation warnings into errors with pytest. --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index bc5fb26ce88..09b8118e15b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,6 +24,7 @@ flake8-max-line-length = 95 doctest_optionflags = NORMALIZE_WHITESPACE mpl-results-path = test_output log_print = False +filterwarnings = error::metpy.deprecation.MetpyDeprecationWarning [doc8] ignore-path = docs/build,docs/api,docs/_templates