mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
refactor: improve formatting of lint commands in platform info
This commit is contained in:
parent
ec9a6f9d66
commit
87593a2e37
1 changed files with 7 additions and 2 deletions
|
@ -885,7 +885,12 @@ class Coder:
|
|||
platform_text += "- The user is operating inside a git repository\n"
|
||||
|
||||
if self.lint_cmds:
|
||||
platform_text += f"- Lint commands: {self.lint_cmds}\n"
|
||||
platform_text += "- Lint commands:\n"
|
||||
for lang, cmd in self.lint_cmds.items():
|
||||
if lang is None:
|
||||
platform_text += f" - Default: {cmd}\n"
|
||||
else:
|
||||
platform_text += f" - {lang}: {cmd}\n"
|
||||
|
||||
if self.test_cmd:
|
||||
platform_text += f"- Test command: {self.test_cmd}\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue