From d15e7c4c313f35dc7f6f98f2dd5b0e41c8772dc2 Mon Sep 17 00:00:00 2001 From: Danglewood <85772166+deeleeramone@users.noreply.github.com> Date: Mon, 7 Oct 2024 02:47:00 -0700 Subject: [PATCH] [BugFix] Update `ruff.toml` To Use Python 3.9 As Minimum Supported Version (#6733) * update ruff target version to py39 * add temp ignores for UP035 and UP006 --------- Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com> --- ruff.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruff.toml b/ruff.toml index cae9b8373d1..3fe49c6f8a8 100644 --- a/ruff.toml +++ b/ruff.toml @@ -8,7 +8,8 @@ exclude = [ ] line-length = 122 -target-version = "py38" +target-version = "py39" +fix = true [lint] select = [ @@ -27,7 +28,7 @@ select = [ "T20", ] # These ignores should be seen as temporary solutions to problems that will NEED fixed -ignore = ["PLR2004", "PLR0913", "PLR0915"] +ignore = ["PLR2004", "PLR0913", "PLR0915", "UP035", "UP006"] [lint.per-file-ignores] "**/tests/*" = ["S101"]