Re-enable Aider now that system is usable again
This commit is contained in:
parent
d03a8aa9df
commit
f28df768e7
|
@ -282,7 +282,7 @@ def run_cmd(cmd: list[str], cwd: Path | None = None, check=True) -> bool:
|
|||
result = subprocess.run(cmd, check=check, cwd=cwd)
|
||||
return result.returncode == 0
|
||||
|
||||
SKIP_AIDER = True
|
||||
SKIP_AIDER = False
|
||||
|
||||
def solve_issue_in_repository(
|
||||
args,
|
||||
|
@ -293,6 +293,8 @@ def solve_issue_in_repository(
|
|||
issue_number: str,
|
||||
gitea_client=None,
|
||||
) -> bool:
|
||||
logger.info("### %s #####", issue_title)
|
||||
|
||||
repo_url = f'{args.gitea_url}:{args.owner}/{args.repo}.git'.replace(
|
||||
'https://',
|
||||
'git@',
|
||||
|
@ -349,7 +351,7 @@ def solve_issue_in_repository(
|
|||
)
|
||||
files_changed = result.stdout.strip()
|
||||
|
||||
if not files_changed:
|
||||
if not files_changed and not SKIP_AIDER:
|
||||
logger.info(
|
||||
'Aider did not make any changes beyond the initial ruff pass for issue #%s',
|
||||
issue_number,
|
||||
|
|
Loading…
Reference in New Issue
Block a user