Update pylint to 2.13.8 (#71280)

This commit is contained in:
Marc Mueller 2022-05-04 12:14:24 +02:00 committed by GitHub
parent ee8eac10c9
commit 6eef3c16f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 9 deletions

View File

@ -115,7 +115,7 @@ class BrData:
self.load_error_count += 1
threshold_log(
self.load_error_count,
"Unable to retrieve json data from Buienradar" "(Msg: %s, status: %s,)",
"Unable to retrieve json data from Buienradar (Msg: %s, status: %s)",
content.get(MESSAGE),
content.get(STATUS_CODE),
)
@ -135,7 +135,7 @@ class BrData:
# unable to get the data
threshold_log(
self.rain_error_count,
"Unable to retrieve rain data from Buienradar" "(Msg: %s, status: %s)",
"Unable to retrieve rain data from Buienradar (Msg: %s, status: %s)",
raincontent.get(MESSAGE),
raincontent.get(STATUS_CODE),
)

View File

@ -287,7 +287,7 @@ class ConfiguredDoorBird:
self.device.change_favorite("http", f"Home Assistant ({event})", url)
if not self.webhook_is_registered(url):
_LOGGER.warning(
'Unable to set favorite URL "%s". ' 'Event "%s" will not fire',
'Unable to set favorite URL "%s". Event "%s" will not fire',
url,
event,
)

View File

@ -159,7 +159,7 @@ def encrypt_message(secret, topic, message):
if key is None:
_LOGGER.warning(
"Unable to encrypt payload because no decryption key known " "for topic %s",
"Unable to encrypt payload because no decryption key known for topic %s",
topic,
)
return None

View File

@ -235,7 +235,7 @@ def _attach_file(atch_name, content_id):
attachment = MIMEImage(file_bytes)
except TypeError:
_LOGGER.warning(
"Attachment %s has an unknown MIME type. " "Falling back to file",
"Attachment %s has an unknown MIME type. Falling back to file",
atch_name,
)
attachment = MIMEApplication(file_bytes, Name=atch_name)

View File

@ -242,7 +242,7 @@ class CoverTemplate(TemplateEntity, CoverEntity):
if state < 0 or state > 100:
self._position = None
_LOGGER.error(
"Cover position value must be" " between 0 and 100." " Value was: %.2f",
"Cover position value must be between 0 and 100. Value was: %.2f",
state,
)
else:

View File

@ -139,7 +139,7 @@ class VasttrafikDepartureSensor(SensorEntity):
if not self._departureboard:
_LOGGER.debug(
"No departures from departure station %s " "to destination station %s",
"No departures from departure station %s to destination station %s",
self._departure["station_name"],
self._heading["station_name"] if self._heading else "ANY",
)

View File

@ -540,7 +540,6 @@ class ZWaveServices:
async def async_ping(self, service: ServiceCall) -> None:
"""Ping node(s)."""
# pylint: disable=no-self-use
_LOGGER.warning(
"This service is deprecated in favor of the ping button entity. Service "
"calls will still work for now but the service will be removed in a "

View File

@ -13,7 +13,7 @@ freezegun==1.2.1
mock-open==1.4.0
mypy==0.950
pre-commit==2.17.0
pylint==2.13.7
pylint==2.13.8
pipdeptree==2.2.1
pylint-strict-informational==0.1
pytest-aiohttp==0.3.0