[pre-commit.ci lite] apply automatic fixes

This commit is contained in:
pre-commit-ci-lite[bot]
2026-04-26 16:08:49 +00:00
committed by GitHub
parent 1cd4cd395f
commit 51baefcd24
+4 -1
View File
@@ -1678,7 +1678,10 @@ def test_upload_program_serial_partition_table(
args = MockArgs(partition_table=True)
devices = ["/dev/ttyUSB0"]
with pytest.raises(EsphomeError, match="The option --partition-table can only be used for Over The Air updates"):
with pytest.raises(
EsphomeError,
match="The option --partition-table can only be used for Over The Air updates",
):
upload_program(config, args, devices)