ruff: Use more specific name to enable pyupgrade rule

UP is the exact name of the rule, instead of U. Use the exact name to
avoid potential problems caused by any UX rules which can be added
in the future.

Change-Id: Ie007e90c3861aa7f289a9a9719e33199cd10efac
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-11-12 01:47:16 +09:00
parent 99ad43d08b
commit c52474fb0a

View File

@@ -52,7 +52,7 @@ quote-style = "preserve"
docstring-code-format = true
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "U"]
select = ["E4", "E7", "E9", "F", "UP"]
# [tool.ruff.lint.per-file-ignores]
# "openstack/tests/*" = ["S"]