Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 9, 2025
1 parent b1b06a4 commit c552074
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_undo.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ def timestamp_callback():

doc = Doc()
doc["text"] = text = Text()
undo_manager = UndoManager(scopes=[text], capture_timeout_millis=1, timestamp=timestamp_callback)
undo_manager = UndoManager(
scopes=[text], capture_timeout_millis=1, timestamp=timestamp_callback
)
text += "a"
timestamp += 1
text += "b"
Expand Down

0 comments on commit c552074

Please sign in to comment.