fixed slight mistake

This commit is contained in:
Karma Riuk
2025-03-26 14:50:36 +01:00
parent 19729fae7c
commit 2e04ed49a3

View File

@ -2,6 +2,8 @@ from dataclasses import dataclass, field
from typing import Dict, List from typing import Dict, List
import json import json
from collections import defaultdict
# fmt: off # fmt: off
@dataclass @dataclass
@ -16,7 +18,7 @@ class Metadata:
pr_number: int pr_number: int
merge_commit_sha: str # to checkout for the tests merge_commit_sha: str # to checkout for the tests
commented_files: Dict[str, str] # comment -> filename commented_files: Dict[str, str] # comment -> filename
commented_files_coverages: Dict[str, Dict[str, float]] = field(default_factory=dict) # filename -> jacoco-report -> coverage commented_files_coverages: Dict[str, Dict[str, float]] = field(default_factory=lambda: defaultdict(dict)) # filename -> jacoco-report -> coverage
successful: bool = True successful: bool = True
build_system: str = "" build_system: str = ""
reason_for_failure: str = "" reason_for_failure: str = ""