Skip to content

Commit 220a44a

Browse files
committed
fix flake8
1 parent 1c4f73b commit 220a44a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

djangocms_frontend/templatetags/cms_component.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _to_tuple_if_needed(value: str) -> str | tuple[str, str]:
6161
value (str): The string to be converted.
6262
6363
Returns:
64-
str | tuple[str, str]: A tuple containing the two parts of the string if it contains
64+
str | tuple[str, str]: A tuple containing the two parts of the string if it contains
6565
a delimiter, otherwise returns the original string.
6666
"""
6767
match = _TUPLE_RE.fullmatch(value)
@@ -82,7 +82,7 @@ def split(value: str, delimiter: str = "|") -> list[str | tuple[str, str]]:
8282
delimiter (str, optional): The delimiter to use for splitting the string. Defaults to "|".
8383
8484
Returns:
85-
list[str | tuple[str, str]: A list of substrings or 2-tuples obtained by splitting the
85+
list[str | tuple[str, str]: A list of substrings or 2-tuples obtained by splitting the
8686
input string using the delimiter.
8787
"""
8888
split_list = value.split(delimiter)

0 commit comments

Comments
 (0)