Skip to content

Commit b7274d6

Browse files
author
Your Name
committed
(no commit message provided)
1 parent 4596232 commit b7274d6

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

cecli/coders/base_coder.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,9 @@ def __init__(
579579
self.files_edited_by_tools = set()
580580

581581
# Linting and testing
582-
self.linter = Linter(root=self.root, encoding=io.encoding, interrupt_event=self.interrupt_event)
582+
self.linter = Linter(
583+
root=self.root, encoding=io.encoding, interrupt_event=self.interrupt_event
584+
)
583585
self.auto_lint = auto_lint
584586
self.setup_lint_cmds(lint_cmds)
585587
self.lint_cmds = lint_cmds
@@ -3330,9 +3332,9 @@ async def show_send_output_stream(self, completion):
33303332
self.stream_wrapper(text, final=False)
33313333
except UnicodeEncodeError:
33323334
# Safely encode and decode the text
3333-
safe_text = text.encode(sys.stdout.encoding, errors="backslashreplace").decode(
3334-
sys.stdout.encoding
3335-
)
3335+
safe_text = text.encode(
3336+
sys.stdout.encoding, errors="backslashreplace"
3337+
).decode(sys.stdout.encoding)
33363338
self.stream_wrapper(safe_text, final=False)
33373339
yield text
33383340
except (asyncio.CancelledError, KeyboardInterrupt):

0 commit comments

Comments
 (0)