Skip to content

Commit 5c4d455

Browse files
committed
Fix UP015 (Unnecessary mode argument)
ruff check --select=UP015 --fix
1 parent d41a7ec commit 5c4d455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devtools/update_pyproject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, ctx: Context) -> None:
4040
# and retain all the comments
4141
self.subprojects: typing.Dict[str, ProjectInfo] = {}
4242
for name, project in self.ctx.subprojects.items():
43-
with open(project.pyproject_path, "r") as fp:
43+
with open(project.pyproject_path) as fp:
4444
data = tomlkit.load(fp)
4545

4646
self.subprojects[name] = ProjectInfo(

0 commit comments

Comments
 (0)