diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 09dd987f1..abb768525 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -885,8 +885,13 @@ 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"