From e12096bb926609bb24d0873eee64e19cee25df15 Mon Sep 17 00:00:00 2001 From: Zaggy1024 Date: Wed, 29 Apr 2026 18:22:24 -0500 Subject: [PATCH] Meta: Add a target-version declaration to ruff This should hopefully prevent tools from suggesting changes like converting Optional and Union to use the `|` operator. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index f4b301b3e5..b8295ccd67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,6 @@ [tool.ruff] line-length = 120 +target-version = "py39" [tool.ruff.lint] # https://docs.astral.sh/ruff/rules/