Skip to content

Commit 775f1a5

Browse files
committed
make ruff happy
1 parent c3b625d commit 775f1a5

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

codeflash/optimization/function_optimizer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,6 @@ def run_and_parse_tests(
18811881
cwd=self.project_root,
18821882
test_env=test_env,
18831883
pytest_timeout=INDIVIDUAL_TESTCASE_TIMEOUT,
1884-
verbose=True,
18851884
enable_coverage=enable_coverage,
18861885
)
18871886
elif testing_type == TestingMode.LINE_PROFILE:
@@ -1895,7 +1894,6 @@ def run_and_parse_tests(
18951894
pytest_min_loops=1,
18961895
pytest_max_loops=1,
18971896
test_framework=self.test_cfg.test_framework,
1898-
line_profiler_output_file=line_profiler_output_file,
18991897
)
19001898
elif testing_type == TestingMode.PERFORMANCE:
19011899
result_file_path, run_result = run_benchmarking_tests(

codeflash/verification/test_runner.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def run_behavioral_tests(
3636
*,
3737
pytest_timeout: int | None = None,
3838
pytest_cmd: str = "pytest",
39-
verbose: bool = False,
4039
pytest_target_runtime_seconds: int = TOTAL_LOOPING_TIME_EFFECTIVE,
4140
enable_coverage: bool = False,
4241
) -> tuple[Path, subprocess.CompletedProcess, Path | None, Path | None]:
@@ -141,11 +140,9 @@ def run_line_profile_tests(
141140
test_framework: str,
142141
*,
143142
pytest_target_runtime_seconds: float = TOTAL_LOOPING_TIME_EFFECTIVE,
144-
verbose: bool = False,
145143
pytest_timeout: int | None = None,
146144
pytest_min_loops: int = 5, # noqa: ARG001
147145
pytest_max_loops: int = 100_000, # noqa: ARG001
148-
line_profiler_output_file: Path | None = None,
149146
) -> tuple[Path, subprocess.CompletedProcess]:
150147
if test_framework in {"pytest", "unittest"}: # pytest runs both pytest and unittest tests
151148
pytest_cmd_list = (
@@ -193,7 +190,6 @@ def run_benchmarking_tests(
193190
test_framework: str,
194191
*,
195192
pytest_target_runtime_seconds: float = TOTAL_LOOPING_TIME_EFFECTIVE,
196-
verbose: bool = False,
197193
pytest_timeout: int | None = None,
198194
pytest_min_loops: int = 5,
199195
pytest_max_loops: int = 100_000,

0 commit comments

Comments
 (0)