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:
parent
b5db4da668
commit
e12096bb92
1 changed files with 1 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
[tool.ruff]
|
||||
line-length = 120
|
||||
target-version = "py39"
|
||||
|
||||
[tool.ruff.lint]
|
||||
# https://docs.astral.sh/ruff/rules/
|
||||
|
|
|
|||
Loading…
Reference in a new issue