We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b902d62 commit 774b340Copy full SHA for 774b340
codeflash/tracer.py
@@ -14,8 +14,6 @@
14
import json
15
import pickle
16
import subprocess
17
-import time
18
-
19
import sys
20
from argparse import ArgumentParser
21
from pathlib import Path
codeflash/tracing/pytest_parallelization.py
@@ -5,6 +5,7 @@
5
6
from random import shuffle
7
8
+
9
def pytest_split(
10
arguments: list[str], num_splits: int | None = None
11
) -> tuple[list[list[str]] | None, list[str] | None]:
@@ -53,7 +54,7 @@ def pytest_split(
53
54
if num_splits is None:
55
num_splits = os.cpu_count() or 4
56
- #randomize to increase chances of all splits being balanced
57
+ # randomize to increase chances of all splits being balanced
58
test_files = list(test_files)
59
shuffle(test_files)
60
0 commit comments