From d1fc8446f6975f975c16248a2aeaf25c58acf454 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Tue, 13 Jan 2026 14:06:43 +0100 Subject: [PATCH] pyproject: ida: silence SWIG related warnings from IDA bindings --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 3f39a439..36c53c5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,6 +109,13 @@ dependencies = [ ] dynamic = ["version"] +[tool.pytest.ini_options] +filterwarnings = [ + "ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning", + "ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning", + "ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning", +] + [tool.setuptools.dynamic] version = {attr = "capa.version.__version__"}