diff --git a/aider/io.py b/aider/io.py index 92462f1dd..d826d0977 100644 --- a/aider/io.py +++ b/aider/io.py @@ -300,9 +300,7 @@ class InputOutput: res = prompt(question + " ", default=default) hist = f"{question.strip()} {res.strip()}" - self.append_chat_history(hist, linebreak=True, blockquote=True) - if self.yes in (True, False): - self.tool_output(hist) + self.tool_output(hist) if not res or not res.strip(): return diff --git a/aider/linter.py b/aider/linter.py index f2afe2d05..57d225fcf 100644 --- a/aider/linter.py +++ b/aider/linter.py @@ -98,7 +98,7 @@ class Linter: compile_res = lint_python_compile(fname, code) fatal = "E9,F821,F823,F831,F406,F407,F701,F702,F704,F706" - flake8 = f"flake8 --select={fatal} --show-source" + flake8 = f"flake8 --select={fatal} --show-source --isolated" try: flake_res = self.run_cmd(flake8, rel_fname, code)