@@ -45,7 +45,9 @@ def __init__(
4545 mongo_uri : str = None ,
4646 ):
4747 self .output_dir = Path (output_dir ) if output_dir else Path ("./output" )
48- self .summary_dir = Path (summary_dir ) if summary_dir else Path ("./summary_output" )
48+ self .summary_dir = (
49+ Path (summary_dir ) if summary_dir else Path ("./summary_output" )
50+ )
4951
5052 # Initialize MongoDB connection
5153 config = DatabaseConfig .from_env ()
@@ -101,7 +103,9 @@ def scan(self) -> Dict[str, Dict[str, List[str]]]:
101103 # Store summary metadata (not re-import test results)
102104 if self .summary_dir .exists ():
103105 logger .info (f"Scanning summaries: { self .summary_dir } " )
104- for summary_file in sorted (self .summary_dir .glob ("dispatcher_summary_*.json" )):
106+ for summary_file in sorted (
107+ self .summary_dir .glob ("dispatcher_summary_*.json" )
108+ ):
105109 summary_result = self ._import_summary_metadata (summary_file )
106110 result ["summary" ]["imported" ].extend (summary_result .get ("imported" , []))
107111 result ["summary" ]["skipped" ].extend (summary_result .get ("skipped" , []))
@@ -245,7 +249,9 @@ def main():
245249 )
246250 parser .add_argument ("--scan" , action = "store_true" , help = "One-time scan only" )
247251 parser .add_argument ("--output-dir" , default = "./output" , help = "Output directory" )
248- parser .add_argument ("--summary-dir" , default = "./summary_output" , help = "Summary directory" )
252+ parser .add_argument (
253+ "--summary-dir" , default = "./summary_output" , help = "Summary directory"
254+ )
249255 parser .add_argument ("--mongo-uri" , help = "MongoDB connection URI" )
250256 parser .add_argument ("-v" , "--verbose" , action = "store_true" , help = "Verbose output" )
251257 args = parser .parse_args ()
0 commit comments