Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -43,7 +43,9 @@ class HomeAssistantView:
|
||||
|
||||
@staticmethod
|
||||
def json(
|
||||
result: Any, status_code: int = HTTP_OK, headers: Optional[LooseHeaders] = None,
|
||||
result: Any,
|
||||
status_code: int = HTTP_OK,
|
||||
headers: Optional[LooseHeaders] = None,
|
||||
) -> web.Response:
|
||||
"""Return a JSON response."""
|
||||
try:
|
||||
@@ -114,7 +116,10 @@ def request_handler_factory(view: HomeAssistantView, handler: Callable) -> Calla
|
||||
raise HTTPUnauthorized()
|
||||
|
||||
_LOGGER.debug(
|
||||
"Serving %s to %s (auth: %s)", request.path, request.remote, authenticated,
|
||||
"Serving %s to %s (auth: %s)",
|
||||
request.path,
|
||||
request.remote,
|
||||
authenticated,
|
||||
)
|
||||
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user