Remove unnecessary string literal concatenations (#30360)

This commit is contained in:
Ville Skyttä 2020-01-02 21:17:10 +02:00 committed by GitHub
parent cac750066a
commit e6388e186c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
183 changed files with 362 additions and 393 deletions

View file

@ -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