Remove unnecessary string literal concatenations (#30360)
This commit is contained in:
parent
cac750066a
commit
e6388e186c
183 changed files with 362 additions and 393 deletions
|
@ -57,7 +57,7 @@ SCAN_INTERVAL = timedelta(minutes=5) # Timely, and doesn't suffocate the API
|
|||
STATIONS_URI = "v2/networks/{uid}?fields=network.stations"
|
||||
|
||||
CITYBIKES_ATTRIBUTION = (
|
||||
"Information provided by the CityBikes Project " "(https://citybik.es/#about)"
|
||||
"Information provided by the CityBikes Project (https://citybik.es/#about)"
|
||||
)
|
||||
|
||||
CITYBIKES_NETWORKS = "citybikes_networks"
|
||||
|
@ -143,9 +143,7 @@ async def async_citybikes_request(hass, uri, schema):
|
|||
except ValueError:
|
||||
_LOGGER.error("Received non-JSON data from CityBikes API endpoint")
|
||||
except vol.Invalid as err:
|
||||
_LOGGER.error(
|
||||
"Received unexpected JSON from CityBikes" " API endpoint: %s", err
|
||||
)
|
||||
_LOGGER.error("Received unexpected JSON from CityBikes API endpoint: %s", err)
|
||||
raise CityBikesRequestError
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue