diff --git a/homeassistant/components/sms/config_flow.py b/homeassistant/components/sms/config_flow.py index acc33075397..9128b6187c1 100644 --- a/homeassistant/components/sms/config_flow.py +++ b/homeassistant/components/sms/config_flow.py @@ -39,7 +39,7 @@ async def get_imei_from_config(hass: core.HomeAssistant, data): raise CannotConnect try: imei = await gateway.get_imei_async() - except gammu.GSMError as err: # pylint: disable=no-member + except gammu.GSMError as err: raise CannotConnect from err finally: await gateway.terminate_async() diff --git a/requirements_test.txt b/requirements_test.txt index 49615d104a7..f0cdac24e5f 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -13,7 +13,7 @@ freezegun==1.2.1 mock-open==1.4.0 mypy==0.950 pre-commit==2.19.0 -pylint==2.13.8 +pylint==2.13.9 pipdeptree==2.2.1 pylint-strict-informational==0.1 pytest-aiohttp==0.3.0