From 8dc11b0d8d2b93505b281ab352f5062300c6c25c Mon Sep 17 00:00:00 2001 From: spencrr <23708360+spencrr@users.noreply.github.com> Date: Mon, 20 Apr 2026 16:29:33 -0700 Subject: [PATCH] [FIX]: Fix pytest warnings for confusables on first run --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bd4293b7..85b0c7ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,6 +81,10 @@ markers = [ "harm(*categories): categorize test by harm type", "trial(n=, threshold=): statistical repetition of a test", ] +filterwarnings = [ + "ignore:.*invalid escape sequence:DeprecationWarning:.*confusables.*", + "ignore:.*invalid escape sequence:SyntaxWarning:.*confusables.*", +] [tool.ruff.lint] select = ["ALL"]