Skip to content

Commit d334d76

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 29a25d2 commit d334d76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/pycrdt/_xml.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ def to_py(self) -> None:
168168
def _get_or_insert(self, name: str, doc: Doc) -> Any:
169169
raise ValueError("Cannot get an XmlElement from a doc - get an XmlFragment instead.")
170170

171-
def _init(self, value: tuple[str, list[tuple[str, str]], list[str | XmlElement | XmlText]] | None):
171+
def _init(
172+
self, value: tuple[str, list[tuple[str, str]], list[str | XmlElement | XmlText]] | None
173+
):
172174
assert value is not None
173175
_, attrs, contents = value
174176
with self.doc.transaction():

0 commit comments

Comments
 (0)