mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +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"
|
False, "--stats", "-s", help="Do not run tests, just collect stats on completed tests"
|
||||||
),
|
),
|
||||||
stats_languages: str = typer.Option(
|
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"),
|
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"),
|
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():
|
if results_fname.exists():
|
||||||
try:
|
try:
|
||||||
res = json.loads(results_fname.read_text())
|
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...")
|
# print(f"{results_fname} test timeouts, redoing...")
|
||||||
#else:
|
# else:
|
||||||
return res
|
return res
|
||||||
except JSONDecodeError:
|
except JSONDecodeError:
|
||||||
print(f"{results_fname} failed to parse, redoing...")
|
print(f"{results_fname} failed to parse, redoing...")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue