From 959d599ff9830113fd6828b396ea22a810375c53 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Tue, 17 Feb 2026 22:24:24 -0500 Subject: [PATCH] updated pyproject.toml --- pyproject.toml | 3 +++ python/eval_warnings/main.py | 1 + 2 files changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 87d19c3..295e147 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,9 @@ lint.ignore = [ "python/congress_tracker/**" = [ "TC003", # (perm) this creates issues because sqlalchemy uses these at runtime ] +"python/eval_warnings/**" = [ + "S607", # (perm) gh and git are expected on PATH in the runner environment +] "python/alembic/**" = [ "INP001", # (perm) this creates LSP issues for alembic ] diff --git a/python/eval_warnings/main.py b/python/eval_warnings/main.py index cdbe676..45f597b 100644 --- a/python/eval_warnings/main.py +++ b/python/eval_warnings/main.py @@ -36,6 +36,7 @@ class FileChange: original: str fixed: str + WARNING_PATTERN = re.compile(r"(?:^[\d\-T:.Z]+ )?(warning:|trace: warning:)") TIMESTAMP_PREFIX = re.compile(r"^[\d\-T:.Z]+ ") NIX_STORE_PATH = re.compile(r"/nix/store/[^/]+-source/([^:]+\.nix)")