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
|
@ -96,8 +96,8 @@ class HabitipyData:
|
|||
except ClientResponseError as error:
|
||||
if error.status == HTTP_TOO_MANY_REQUESTS:
|
||||
_LOGGER.warning(
|
||||
"Sensor data update for %s has too many API requests."
|
||||
" Skipping the update.",
|
||||
"Sensor data update for %s has too many API requests;"
|
||||
" Skipping the update",
|
||||
DOMAIN,
|
||||
)
|
||||
else:
|
||||
|
@ -113,8 +113,8 @@ class HabitipyData:
|
|||
except ClientResponseError as error:
|
||||
if error.status == HTTP_TOO_MANY_REQUESTS:
|
||||
_LOGGER.warning(
|
||||
"Sensor data update for %s has too many API requests."
|
||||
" Skipping the update.",
|
||||
"Sensor data update for %s has too many API requests;"
|
||||
" Skipping the update",
|
||||
DOMAIN,
|
||||
)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue