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:
J. Nick Koston 2021-03-19 09:26:36 -05:00 committed by GitHub
parent 3742f175ad
commit c820dd4cb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
107 changed files with 243 additions and 157 deletions

View file

@ -201,7 +201,7 @@ class TwitterNotificationService(BaseNotificationService):
method_override="GET",
)
if resp.status_code != HTTP_OK:
_LOGGER.error("media processing error: %s", resp.json())
_LOGGER.error("Media processing error: %s", resp.json())
processing_info = resp.json()["processing_info"]
_LOGGER.debug("media processing %s status: %s", media_id, processing_info)