style: Format code according to linter rules

This commit is contained in:
Paul Gauthier (aider) 2025-03-17 21:10:17 -07:00
parent 7316635aba
commit ac4e4959eb

View file

@ -5,7 +5,7 @@ import time
from rich.console import Console
from rich.live import Live
from rich.markdown import Markdown, CodeBlock
from rich.markdown import CodeBlock, Markdown
from rich.syntax import Syntax
from rich.text import Text
@ -52,9 +52,7 @@ class NoInsetCodeBlock(CodeBlock):
def __rich_console__(self, console, options):
code = str(self.text).rstrip()
syntax = Syntax(
code, self.lexer_name, theme=self.theme, word_wrap=True, padding=0
)
syntax = Syntax(code, self.lexer_name, theme=self.theme, word_wrap=True, padding=0)
yield syntax