core: use ruff.target-version instead (#26634)

tested on one of the replacement cases and seems to work! 
![ScreenShot 2024-09-18 at 02 02
43PM](https://github.com/user-attachments/assets/7170975a-2542-43ed-a203-d4126c6a2c81)
This commit is contained in:
Erick Friis 2024-09-18 14:06:14 -07:00 committed by GitHub
parent 84b831356c
commit 9909354cd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,6 +40,9 @@ python = ">=3.12.4"
[tool.poetry.extras]
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
select = ["B", "E", "F", "I", "T201", "UP"]
ignore = ["UP007"]