Skip to content

Commit e4b4c7a

Browse files
Jammy2211claude
authored andcommitted
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 <noreply@anthropic.com>
1 parent 9eadbfe commit e4b4c7a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,8 @@ test = ["pytest"]
5151
dev = ["pytest", "black"]
5252

5353
[tool.pytest.ini_options]
54-
testpaths = ["test_autoconf"]
54+
testpaths = ["test_autoconf"]
55+
filterwarnings = [
56+
"ignore:cuda_plugin_extension:UserWarning",
57+
"ignore::DeprecationWarning:jax",
58+
]

0 commit comments

Comments
 (0)