Skip to content

Commit 188737c

Browse files
committed
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: I5fa59181fcd3e28bf3c87ce2a5e610561b2ee8a8 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
1 parent 492a184 commit 188737c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ quote-style = "preserve"
748748
docstring-code-format = true
749749

750750
[tool.ruff.lint]
751-
select = ["E4", "E7", "E9", "F", "S", "U"]
751+
select = ["E4", "E7", "E9", "F", "S", "UP"]
752752

753753
[tool.ruff.lint.per-file-ignores]
754754
"openstackclient/tests/*" = ["S"]

0 commit comments

Comments
 (0)