@@ -22,8 +22,11 @@ def _display_user_and_key(context: DatasetUploadContext):
2222
2323def _display_subdomain_info (context : DatasetUploadContext ):
2424 """Displays subdomain upload information."""
25- msg = f" • Uploading to Observatory Portal '{ context .subdomain } '." if context .subdomain else \
26- " • Uploading to your *personal* account."
25+ msg = (
26+ f" • Uploading to Observatory Portal '{ context .subdomain } '."
27+ if context .subdomain
28+ else " • Uploading to your *personal* account."
29+ )
2730 click .echo (msg )
2831
2932
@@ -46,8 +49,11 @@ def _display_data_type_info(context: DatasetUploadContext):
4649
4750def _display_custom_tags_info (context : DatasetUploadContext ):
4851 """Displays custom tags information."""
49- msg = f" • Data files will be tagged with the following custom tags: { context .custom_tags } ." \
50- if context .custom_tags else " • Data files will receive no custom tags."
52+ msg = (
53+ f" • Data files will be tagged with the following custom tags: { context .custom_tags } ."
54+ if context .custom_tags
55+ else " • Data files will receive no custom tags."
56+ )
5157 click .echo (msg )
5258
5359
@@ -104,7 +110,9 @@ def _display_folder_size(folder_path: pathlib.Path):
104110 click .echo (f" > Estimated upload time: { __get_formatted_size_times (size )} " )
105111
106112
107- def display_upload_datafiles_command_summary (context : DatasetUploadContext , folders : list ):
113+ def display_upload_datafiles_command_summary (
114+ context : DatasetUploadContext , folders : list
115+ ):
108116 """Displays a summary of the upload command."""
109117 click .echo ("\n --- Upload summary --- " )
110118 _display_user_and_key (context )
0 commit comments