File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -62,21 +62,20 @@ async def check_all_paths():
62
62
results = await asyncio .gather (* tasks , return_exceptions = True )
63
63
64
64
finish_time = time .perf_counter () - start_time
65
- logging .info (f"Validated { len (all_paths )} files within { finish_time :.2f} seconds." )
65
+ logging .info (f"Processed { len (all_paths )} files within { finish_time :.2f} seconds." )
66
66
67
67
if any (isinstance (result , Exception ) for result in results ):
68
68
errors = len ([1 for result in results if isinstance (result , Exception )])
69
69
logging .error (
70
- f"Checks completed with { errors } errors!\n "
70
+ f"Validation completed with { errors } errors!\n "
71
71
f"\t Please ensure the licenses are one of the following: { VALID_LICENSE_IDENTIFIERS } .\n "
72
72
f"\t In case it is a valid license, please contact the Open Data Team."
73
73
)
74
74
exit (1 )
75
75
76
76
else :
77
77
logging .info (
78
- "Checks completed successfully!\n "
79
- f"\t Checked { sum (results )} records within { finish_time :.2f} seconds."
78
+ f"Successfully validated { sum (results )} records. No errors found."
80
79
)
81
80
82
81
You can’t perform that action at this time.
0 commit comments