mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-11 12:30:25 +08:00
Apply formatter
This commit is contained in:
@@ -88,7 +88,9 @@ if __name__ == "__main__":
|
||||
create_optuna_storage(storage)
|
||||
|
||||
# Make a file including a broken line to the random position to test error handling
|
||||
shutil.copyfile(os.path.join(BASE_DIR, "journal.log"), os.path.join(BASE_DIR, "journal-broken.log"))
|
||||
shutil.copyfile(
|
||||
os.path.join(BASE_DIR, "journal.log"), os.path.join(BASE_DIR, "journal-broken.log")
|
||||
)
|
||||
broken_line = (
|
||||
'{"op_code": ..., "worker_id": "0000", "study_id": 0,'
|
||||
'"datetime_start": "2024-04-01T12:00:00.000000"}\n'
|
||||
|
||||
Reference in New Issue
Block a user