Răsfoiți Sursa

chore(ruff): Update target Python version to 3.12 (#21405)

Set the `target-version` in `ruff.toml` to Python 3.12. Ensures the
linter aligns with the version used in the project's environment.

Fixes #21404
Martin Hauser 16 ore în urmă
părinte
comite
9be5aa188c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      ruff.toml

+ 1 - 1
ruff.toml

@@ -2,7 +2,7 @@ exclude = [
     "netbox/project-static/**"
 ]
 line-length = 120
-target-version = "py310"
+target-version = "py312"
 
 [lint]
 extend-select = ["E1", "E2", "E3", "E501", "W"]