From 1e9ff842f3e94de97be6c543f3f5876df3617eab Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 8 Sep 2024 09:11:08 -0700 Subject: [PATCH] style: format code with linter --- aider/main.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/aider/main.py b/aider/main.py index 5677284f8..9f5af89fe 100644 --- a/aider/main.py +++ b/aider/main.py @@ -705,14 +705,14 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F coder.show_announcements() - - def check_and_load_imports(io, verbose=False): installs_file = Path.home() / ".aider" / "installs.json" key = (__version__, sys.executable) if verbose: - io.tool_output(f"Checking imports for version {__version__} and executable {sys.executable}") + io.tool_output( + f"Checking imports for version {__version__} and executable {sys.executable}" + ) io.tool_output(f"Installs file: {installs_file}") try: @@ -728,7 +728,9 @@ def check_and_load_imports(io, verbose=False): if str(key) not in installs: if verbose: - io.tool_output("First run for this version and executable, loading imports synchronously") + io.tool_output( + "First run for this version and executable, loading imports synchronously" + ) load_slow_imports() installs[str(key)] = True installs_file.parent.mkdir(parents=True, exist_ok=True)