mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Code styling tweaks to core helpers (#85441)
This commit is contained in:
@@ -115,7 +115,7 @@ def deprecated_class(
|
||||
def deprecated_function(
|
||||
replacement: str,
|
||||
) -> Callable[[Callable[_P, _R]], Callable[_P, _R]]:
|
||||
"""Mark function as deprecated and provide a replacement function to be used instead."""
|
||||
"""Mark function as deprecated and provide a replacement to be used instead."""
|
||||
|
||||
def deprecated_decorator(func: Callable[_P, _R]) -> Callable[_P, _R]:
|
||||
"""Decorate function as deprecated."""
|
||||
|
||||
Reference in New Issue
Block a user