From 90153ead5f1e4a25728cdb870974898cae8a722f Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Sun, 5 Jan 2025 00:44:45 +0100 Subject: [PATCH] Fix typing inaccuracies --- djangocms_text/editors.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/djangocms_text/editors.py b/djangocms_text/editors.py index a824751..86c4887 100644 --- a/djangocms_text/editors.py +++ b/djangocms_text/editors.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from typing import Optional from collections.abc import Iterable @@ -436,9 +438,9 @@ def __init__( self, name: str, config: str, - js: Iterable[str] = None, - css: dict = None, - admin_css: dict = None, + js: Iterable[str] | None = None, + css: dict | None = None, + admin_css: dict | None = None, inline_editing: bool = False, child_plugin_support: bool = False, ):