mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
style: format code with linter
This commit is contained in:
parent
aeea629d17
commit
1e9ff842f3
1 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue