From e4b4c7a1091c53b9a9f736c99f0c96db88719e53 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Mon, 13 Apr 2026 12:44:58 +0100 Subject: [PATCH] fix: suppress CLI noise from docstring escape sequences and third-party warnings Convert docstrings containing LaTeX math and ASCII art to raw strings (r""") to fix SyntaxWarning: invalid escape sequence warnings during test collection. Add pytest filterwarnings for JAX CUDA plugin and deprecation warnings. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bd1642d..bb897ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,4 +51,8 @@ test = ["pytest"] dev = ["pytest", "black"] [tool.pytest.ini_options] -testpaths = ["test_autoconf"] \ No newline at end of file +testpaths = ["test_autoconf"] +filterwarnings = [ + "ignore:cuda_plugin_extension:UserWarning", + "ignore::DeprecationWarning:jax", +] \ No newline at end of file