From 9a0c49fe55ae12b006a6d9f909be43586d998faa Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Sat, 21 Dec 2024 23:00:34 +0100 Subject: [PATCH] fix ruff issues --- djangocms_text/editors.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/djangocms_text/editors.py b/djangocms_text/editors.py index 5ec719c5..18cd3820 100644 --- a/djangocms_text/editors.py +++ b/djangocms_text/editors.py @@ -174,20 +174,20 @@ def default(self, obj): "required": False, }, { - "type": 'section', + "type": "section", "label": _("Link options"), "content": [ { - "name": 'target', - "label": 'Target', - "type": 'select', + "name": "target", + "label": "Target", + "type": "select", "options": [ - {"value": '', "label": '-----'}, - {"value": '_blank', "label": _('New window')}, - {"value": '_self', "label": _('Same window')}, - {"value": '_parent', "label": _('Parent window')}, + {"value": "", "label": "-----"}, + {"value": "_blank", "label": _("New window")}, + {"value": "_self", "label": _("Same window")}, + {"value": "_parent", "label": _("Parent window")}, ], - "required": False + "required": False, } ], },