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: I4982b135913481de003d846adc8c57de356f4559
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-11-12 01:43:56 +09:00
parent b5725d6ea6
commit 268fb82864

View File

@@ -7,7 +7,7 @@ line-length = 79
target-version = "py310"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "S", "U", "W", "C90"]
select = ["E4", "E7", "E9", "F", "S", "UP", "W", "C90"]
ignore = [
# we only use asserts for type narrowing
"S101",