mirror of
https://github.com/esphome/esphome.git
synced 2025-11-18 15:55:46 +00:00
preen
This commit is contained in:
@@ -2,6 +2,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from collections.abc import Callable
|
from collections.abc import Callable
|
||||||
from functools import cache
|
from functools import cache
|
||||||
|
import hashlib
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
@@ -767,7 +768,6 @@ def get_components_graph_cache_key() -> str:
|
|||||||
Returns:
|
Returns:
|
||||||
SHA256 hex string uniquely identifying the current component state
|
SHA256 hex string uniquely identifying the current component state
|
||||||
"""
|
"""
|
||||||
import hashlib
|
|
||||||
|
|
||||||
# Use git ls-files -s to get sha1 hashes of all component __init__.py files
|
# Use git ls-files -s to get sha1 hashes of all component __init__.py files
|
||||||
# Format: <mode> <sha1> <stage> <path>
|
# Format: <mode> <sha1> <stage> <path>
|
||||||
|
|||||||
Reference in New Issue
Block a user