mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 10:17:51 +00:00
Update pylint to 2.15.7 (#82977)
This commit is contained in:
parent
0316800347
commit
490aec0b11
@ -296,7 +296,7 @@ class ESPHomeClient(BaseBleakClient):
|
||||
address_type=self._address_type,
|
||||
)
|
||||
)
|
||||
except Exception: # pylint: disable=broad-except
|
||||
except Exception:
|
||||
with contextlib.suppress(BleakError):
|
||||
# If the connect call throws an exception,
|
||||
# we need to make sure we await the future
|
||||
|
@ -151,7 +151,7 @@ class KNXCommonFlow(ABC, FlowHandler):
|
||||
# keep a reference to the generator to scan in background until user selects a connection type
|
||||
self._async_scan_gen = self._gatewayscanner.async_scan()
|
||||
try:
|
||||
await self._async_scan_gen.__anext__() # pylint: disable=unnecessary-dunder-call
|
||||
await self._async_scan_gen.__anext__()
|
||||
except StopAsyncIteration:
|
||||
pass # scan finished, no interfaces discovered
|
||||
else:
|
||||
|
@ -2101,7 +2101,6 @@ class Config:
|
||||
and "language" in owner_data["language"]
|
||||
):
|
||||
with suppress(vol.InInvalid):
|
||||
# pylint: disable-next=protected-access
|
||||
data["language"] = cv.language(
|
||||
owner_data["language"]["language"]
|
||||
)
|
||||
|
@ -14,7 +14,7 @@ freezegun==1.2.2
|
||||
mock-open==1.4.0
|
||||
mypy==0.991
|
||||
pre-commit==2.20.0
|
||||
pylint==2.15.6
|
||||
pylint==2.15.7
|
||||
pipdeptree==2.3.1
|
||||
pytest-asyncio==0.20.2
|
||||
pytest-aiohttp==1.0.4
|
||||
|
Loading…
x
Reference in New Issue
Block a user