mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-29 05:42:09 +02:00
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
This commit is contained in:
@@ -2,7 +2,7 @@ exclude = [
|
|||||||
"netbox/project-static/**"
|
"netbox/project-static/**"
|
||||||
]
|
]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
target-version = "py310"
|
target-version = "py312"
|
||||||
|
|
||||||
[lint]
|
[lint]
|
||||||
extend-select = ["E1", "E2", "E3", "E501", "W"]
|
extend-select = ["E1", "E2", "E3", "E501", "W"]
|
||||||
|
|||||||
Reference in New Issue
Block a user