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: I353603402a7b5f733acf53022aa9e3369cde43df
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-11-12 01:44:20 +09:00
parent 14f4fe7762
commit a96a573e6d

View File

@@ -62,7 +62,7 @@ quote-style = "preserve"
docstring-code-format = true
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "S", "U"]
select = ["E4", "E7", "E9", "F", "S", "UP"]
ignore = [
# we only use asserts for type narrowing
"S101",