mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
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:
@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user