style: fix Black formatting in encoder_block.py

- Add blank line after class docstring before nested class
- Reformat test_input dict for proper line length
This commit is contained in:
root
2026-01-29 13:02:15 +00:00
parent 378126e60f
commit 7dfc816280

View File

@@ -20,6 +20,7 @@ class TextEncoderBlock(Block):
special characters (like newlines, tabs, etc.) and converts them into
their escape sequence representations (e.g., newline becomes \\n).
"""
class Input(BlockSchemaInput):
"""Input schema for TextEncoderBlock."""
@@ -42,9 +43,11 @@ class TextEncoderBlock(Block):
categories={BlockCategory.TEXT},
input_schema=TextEncoderBlock.Input,
output_schema=TextEncoderBlock.Output,
test_input={"text": """Hello
test_input={
"text": """Hello
World!
This is a "quoted" string."""},
This is a "quoted" string."""
},
test_output=[
(
"encoded_text",