Fix black formatting conflicting with flake8
@@ -13,8 +13,5 @@ def measure_time(message, level=logging.INFO):
m, s = divmod(timedelta, 60)
logger.log(
level,
- message
- + " in "
- + (m > 0) * "{:.0f} min ".format(m)
- + (s > 0) * "{:.1f} seconds".format(s),
+ f"{message} in " + (m > 0) * f"{m:.0f} min " + (s > 0) * f"{s:.1f} seconds",
)
