mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 21:32:21 +01:00
fix typing
This commit is contained in:
@@ -80,7 +80,7 @@ def replace_file_content(text, pattern, repl):
|
|||||||
return content_new, count
|
return content_new, count
|
||||||
|
|
||||||
|
|
||||||
def storage_should_clean(old: StorageJSON, new: StorageJSON) -> bool:
|
def storage_should_clean(old: StorageJSON | None, new: StorageJSON) -> bool:
|
||||||
if old is None:
|
if old is None:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user