From 012573975327873fde534b9cd5d1f564509cc1de Mon Sep 17 00:00:00 2001 From: "Axel H." Date: Mon, 5 Jan 2026 15:05:44 +0100 Subject: [PATCH] style(ruff): add `UP` and `TC` fixes to the safe fixes list --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e27f97fcb..e46372abc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -229,6 +229,10 @@ select = [ "TC006", ] ignore = ["E501", "D1", "D415"] +extend-safe-fixes = [ + "TC", # Move imports inside/outside TYPE_CHECKING blocks + "UP", # Update syntaxes for current Python version recommendations +] [tool.ruff.lint.per-file-ignores] "tests/*" = ["ANN", "S101"]