Private
Public Access
fix formatting on scripts
This commit is contained in:
@@ -102,12 +102,9 @@ def analyze_file(path: Path) -> FileStats | None:
|
||||
|
||||
for line in lines:
|
||||
stripped = line.strip()
|
||||
if not stripped:
|
||||
stats.blank_lines += 1
|
||||
elif stripped.startswith("#"):
|
||||
stats.comment_lines += 1
|
||||
else:
|
||||
stats.code_lines += 1
|
||||
if not stripped: stats.blank_lines += 1
|
||||
elif stripped.startswith("#"): stats.comment_lines += 1
|
||||
else: stats.code_lines += 1
|
||||
|
||||
try:
|
||||
tree = ast.parse(content, filename=str(path))
|
||||
|
||||
@@ -7,7 +7,7 @@ def run_tests():
|
||||
test_files = [f for f in os.listdir(test_dir) if f.startswith("test_") and f.endswith(".py")]
|
||||
test_files.sort()
|
||||
|
||||
batch_size = 4
|
||||
batch_size = 32
|
||||
all_failed = []
|
||||
|
||||
print(f"Starting test execution of {len(test_files)} files in batches of {batch_size}...")
|
||||
|
||||
Reference in New Issue
Block a user