Skip to content

Commit ea565c3

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: Ie6225bde61367acc1ecaca145296b16277fe8c42 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
1 parent a3e4d6e commit ea565c3

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
@@ -42,7 +42,7 @@ quote-style = "single"
4242
docstring-code-format = true
4343

4444
[tool.ruff.lint]
45-
select = ["E4", "E7", "E9", "F", "S", "U"]
45+
select = ["E4", "E7", "E9", "F", "S", "UP"]
4646
ignore = [
4747
# we only use asserts for type narrowing
4848
"S101",

0 commit comments

Comments
 (0)