mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
style: Run linter
This commit is contained in:
parent
221cde0fed
commit
880ade4f12
1 changed files with 2 additions and 0 deletions
|
@ -274,6 +274,7 @@ class Spinner:
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
def find_common_root(abs_fnames):
|
def find_common_root(abs_fnames):
|
||||||
if len(abs_fnames) == 1:
|
if len(abs_fnames) == 1:
|
||||||
return os.path.dirname(list(abs_fnames)[0])
|
return os.path.dirname(list(abs_fnames)[0])
|
||||||
|
@ -282,6 +283,7 @@ def find_common_root(abs_fnames):
|
||||||
else:
|
else:
|
||||||
return os.getcwd()
|
return os.getcwd()
|
||||||
|
|
||||||
|
|
||||||
def check_pip_install_extra(io, module, prompt, pip_install_cmd):
|
def check_pip_install_extra(io, module, prompt, pip_install_cmd):
|
||||||
try:
|
try:
|
||||||
__import__(module)
|
__import__(module)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue