Update pyupgrade to 3.1.0 (#80058)

* Update pyupgrade to 3.1.0

* Remove redundant open modes - text is the default
This commit is contained in:
Marc Mueller
2022-10-11 09:04:52 +02:00
committed by GitHub
parent 884577e622
commit 4e5b5dfb93
5 changed files with 12 additions and 12 deletions

View File

@ -116,7 +116,7 @@ def write_version(version):
"PATCH_VERSION: Final = .*\n", f'PATCH_VERSION: Final = "{patch}"\n', content
)
with open("homeassistant/const.py", "wt") as fil:
with open("homeassistant/const.py", "w") as fil:
fil.write(content)