Use pyupgrade with --py36-plus param.

This commit is contained in:
grossmj committed 2021-04-13 18:37:58 +09:30
1 parent a9eb035b7d
commit f928738bd5
235 files changed
+1501 -1638

No files matched your search

+1 -2
View File
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015 GNS3 Technologies Inc.
#
@@ -38,5 +37,5 @@ class ImageMissingError(Exception):
"""
def __init__(self, image):
super().__init__("The image {} is missing".format(image))
super().__init__(f"The image '{image}' is missing")
self.image = image