From 694d3024dbfea06aefd9288a99d7a375fe100859 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Wed, 23 Nov 2022 04:04:58 -0500 Subject: Fail pytest runs on warnings (#7809) * Catch DeprecationWarning in pyreverse Follow-up to #6869 * Patch use of deprecated `astroid.node_classes` in test * Ignore DeprecationWarning in test_parseable_output_regression Co-authored-by: Pierre Sassoulas --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 27e6a36e5..401106a3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,6 +89,7 @@ test = "pytest" testpaths = ["tests"] python_files = ["*test_*.py"] addopts = "--strict-markers" +filterwarnings = "error" markers = [ "primer_stdlib: Checks for crashes and errors when running pylint on stdlib", "primer_external_batch_one: Checks for crashes and errors when running pylint on external libs (batch one)", -- cgit v1.2.1