Bump pyupgrade to 2.12.0 (#48943)

This commit is contained in:
Marc Mueller 2021-04-09 18:58:27 +02:00 committed by GitHub
parent ee0c87df1c
commit 8e2b5b36b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 94 additions and 95 deletions

View file

@ -105,7 +105,7 @@ class TravisCISensor(SensorEntity):
self._user = user
self._branch = branch
self._state = None
self._name = "{} {}".format(self._repo_name, SENSOR_TYPES[self._sensor_type][0])
self._name = f"{self._repo_name} {SENSOR_TYPES[self._sensor_type][0]}"
@property
def name(self):