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.
This commit is contained in:
Zaggy1024 2026-04-29 18:22:24 -05:00 committed by Jelle Raaijmakers
parent b5db4da668
commit e12096bb92

View file

@ -1,5 +1,6 @@
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/