Have pylint warn when user visible log messages do not start with capital letter or end with a period (#48064)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
3742f175ad
commit
c820dd4cb5
107 changed files with 243 additions and 157 deletions
|
@ -310,7 +310,7 @@ async def get_device(hass, host, port, username, password):
|
|||
return device
|
||||
|
||||
except axis.Unauthorized as err:
|
||||
LOGGER.warning("Connected to device at %s but not registered.", host)
|
||||
LOGGER.warning("Connected to device at %s but not registered", host)
|
||||
raise AuthenticationRequired from err
|
||||
|
||||
except (asyncio.TimeoutError, axis.RequestError) as err:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue