Upgrade pylint to 2.6.0 (#39363)

This commit is contained in:
Ville Skyttä authored and GitHub committed 2020-08-29 07:59:24 +02:00
1 parent 67de1d3466
commit 1bf2c4d976
52 files changed
+77 -86

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ from typing import Any, Callable, Coroutine, TypeVar
_LOGGER = logging.getLogger(__name__)
T = TypeVar("T") # pylint: disable=invalid-name
T = TypeVar("T")
def fire_coroutine_threadsafe(coro: Coroutine, loop: AbstractEventLoop) -> None:
+1 -1
View File
@@ -34,7 +34,7 @@ class HomeAssistantQueueHandler(logging.handlers.QueueHandler):
"""Emit a log record."""
try:
self.enqueue(record)
except asyncio.CancelledError: # pylint: disable=try-except-raise
except asyncio.CancelledError:
raise
except Exception: # pylint: disable=broad-except
self.handleError(record)