fix formatting on scripts

This commit is contained in:
ed
2026-06-07 11:51:36 -04:00
parent 803f87137b
commit b94d949b4d
5 changed files with 263 additions and 266 deletions
+3 -6
View File
@@ -102,12 +102,9 @@ def analyze_file(path: Path) -> FileStats | None:
for line in lines: for line in lines:
stripped = line.strip() stripped = line.strip()
if not stripped: if not stripped: stats.blank_lines += 1
stats.blank_lines += 1 elif stripped.startswith("#"): stats.comment_lines += 1
elif stripped.startswith("#"): else: stats.code_lines += 1
stats.comment_lines += 1
else:
stats.code_lines += 1
try: try:
tree = ast.parse(content, filename=str(path)) tree = ast.parse(content, filename=str(path))
+1 -1
View File
@@ -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 = [f for f in os.listdir(test_dir) if f.startswith("test_") and f.endswith(".py")]
test_files.sort() test_files.sort()
batch_size = 4 batch_size = 32
all_failed = [] all_failed = []
print(f"Starting test execution of {len(test_files)} files in batches of {batch_size}...") print(f"Starting test execution of {len(test_files)} files in batches of {batch_size}...")