diff --git a/pyproject.toml b/pyproject.toml index 729f07046..c13475af2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,7 +136,13 @@ testpaths = ["test/python"] addopts = ["-ra", "--strict-markers", "--strict-config", "--showlocals"] log_cli_level = "INFO" xfail_strict = true -filterwarnings = ["error", 'ignore:Conversion.*to a scalar is deprecated.*:DeprecationWarning:qiskit:', 'ignore:.*qiskit.__qiskit_version__.*:DeprecationWarning:qiskit:'] +filterwarnings = [ + "error", + "ignore:Conversion.*to a scalar is deprecated.*:DeprecationWarning:qiskit:", + "ignore:.*qiskit.__qiskit_version__.*:DeprecationWarning:qiskit:", + "ignore:.*qiskit.utils.algorithm_globals.QiskitAlgorithmGlobals*:DeprecationWarning:qiskit", + "ignore:.*qiskit.extensions module is pending deprecation*:PendingDeprecationWarning:qiskit", +] [tool.coverage] run.source = ["mqt.qmap"]