Skip to content

Commit 3c889ea

Browse files
committed
Adjust style to match standards
1 parent 0218f5c commit 3c889ea

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/prompt_toolkit/filters/app.py

+1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ def get_buffer_from_content(content: UIControl) -> bool:
187187
return content.buffer.validation_error is not None
188188
else:
189189
return False
190+
190191
# Get all windows for the current layout
191192
windows = get_app().layout.find_all_windows()
192193
# Iterate over each window in the layout and return true if any of the buffers have validation errors

src/prompt_toolkit/widgets/toolbars.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,9 @@ def __pt_container__(self) -> Container:
342342

343343

344344
class ValidationToolbar:
345-
def __init__(self, show_position: bool = False, buffer: Buffer | None = None) -> None:
345+
def __init__(
346+
self, show_position: bool = False, buffer: Buffer | None = None
347+
) -> None:
346348
def get_formatted_text() -> StyleAndTextTuples:
347349
# If buffer not specified, use the currently focused buffer
348350
if buffer is None:

0 commit comments

Comments
 (0)