mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
style: Apply linter formatting
This commit is contained in:
parent
e334cbb5d4
commit
8d0decc17a
1 changed files with 7 additions and 5 deletions
|
@ -196,7 +196,9 @@ def main(
|
|||
False, "--stats", "-s", help="Do not run tests, just collect stats on completed tests"
|
||||
),
|
||||
stats_languages: str = typer.Option(
|
||||
None, "--stats-languages", help="Only include stats for specific languages (comma separated)"
|
||||
None,
|
||||
"--stats-languages",
|
||||
help="Only include stats for specific languages (comma separated)",
|
||||
),
|
||||
diffs_only: bool = typer.Option(False, "--diffs", help="Just diff the provided stats dirs"),
|
||||
tries: int = typer.Option(2, "--tries", "-r", help="Number of tries for running tests"),
|
||||
|
@ -661,9 +663,9 @@ def run_test_real(
|
|||
if results_fname.exists():
|
||||
try:
|
||||
res = json.loads(results_fname.read_text())
|
||||
#if res.get("test_timeouts", 0) > 0:
|
||||
# if res.get("test_timeouts", 0) > 0:
|
||||
# print(f"{results_fname} test timeouts, redoing...")
|
||||
#else:
|
||||
# else:
|
||||
return res
|
||||
except JSONDecodeError:
|
||||
print(f"{results_fname} failed to parse, redoing...")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue