Skip to content

Commit 32acf59

Browse files
committed
ruff formatting
1 parent 91b8273 commit 32acf59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prompt_toolkit/layout/processors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import re
1212
from abc import ABCMeta, abstractmethod
13-
from typing import TYPE_CHECKING, Callable, Hashable, cast, Optional
13+
from typing import TYPE_CHECKING, Callable, Hashable, cast
1414

1515
from prompt_toolkit.application.current import get_app
1616
from prompt_toolkit.cache import SimpleCache
@@ -100,7 +100,7 @@ def __init__(
100100
fragments: StyleAndTextTuples,
101101
width: int,
102102
height: int,
103-
get_line: Optional[Callable[[int], StyleAndTextTuples]] = None,
103+
get_line: Callable[[int], StyleAndTextTuples] | None = None,
104104
) -> None:
105105
self.buffer_control = buffer_control
106106
self.document = document

0 commit comments

Comments
 (0)