Convert.format() to f-strings with flynt

This commit is contained in:
Philip Sargent
2022-11-23 10:48:39 +00:00
parent 45a640dfe9
commit b06d1dae42
14 changed files with 69 additions and 69 deletions

View File

@@ -116,7 +116,7 @@ def generate_dot(app_labels, **kwargs):
for app_label in app_labels:
app = models.get_app(app_label)
graph = Context({
'name': '"%s"' % app.__name__,
'name': f'"{app.__name__}"',
'disable_fields': disable_fields,
'models': []
})