mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Add check to skip setting up lint commands if none are provided.
This commit is contained in:
parent
afd827b9d9
commit
0b18f3b4ef
1 changed files with 2 additions and 0 deletions
|
@ -330,6 +330,8 @@ class Coder:
|
|||
self.io.tool_output(json.dumps(self.functions, indent=4))
|
||||
|
||||
def setup_lint_cmds(self, lint_cmds):
|
||||
if not lint_cmds:
|
||||
return
|
||||
for lang, cmd in lint_cmds.items():
|
||||
self.linter.set_linter(lang, cmd)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue