Fix flake8 issues
This commit is contained in:
parent
2d3f68167c
commit
10776dbb07
@ -141,7 +141,8 @@ class App:
|
||||
|
||||
def register_settings(self) -> None:
|
||||
self.manager = settngs.Manager(
|
||||
"""A utility for reading and writing metadata to comic archives.\n\n\nIf no options are given, %(prog)s will run in windowed mode.""",
|
||||
"A utility for reading and writing metadata to comic archives.\n\n\n"
|
||||
+ "If no options are given, %(prog)s will run in windowed mode.",
|
||||
"For more help visit the wiki at: https://github.com/comictagger/comictagger/wiki",
|
||||
)
|
||||
ctsettings.register_commandline_settings(self.manager)
|
||||
@ -182,7 +183,9 @@ class App:
|
||||
|
||||
if len(talkers) < 1:
|
||||
error = error = (
|
||||
f"Failed to load any talkers, please re-install and check the log located in '{self.config[0].Runtime_Options_config.user_log_dir}' for more details",
|
||||
"Failed to load any talkers, please re-install and check the log located in '"
|
||||
+ str(self.config[0].Runtime_Options_config.user_log_dir)
|
||||
+ "' for more details",
|
||||
True,
|
||||
)
|
||||
|
||||
@ -209,7 +212,9 @@ class App:
|
||||
|
||||
if not self.config_load_success:
|
||||
error = (
|
||||
f"Failed to load settings, check the log located in '{self.config[0].Runtime_Options_config.user_log_dir}' for more details",
|
||||
"Failed to load settings, check the log located in '"
|
||||
+ str(self.config[0].Runtime_Options_config.user_log_dir)
|
||||
+ "' for more details",
|
||||
True,
|
||||
)
|
||||
|
||||
|
@ -1619,7 +1619,8 @@ class TaggerWindow(QtWidgets.QMainWindow):
|
||||
reply = QtWidgets.QMessageBox.question(
|
||||
self,
|
||||
"Copy Tags",
|
||||
f"Are you sure you wish to copy the {MetaDataStyle.name[src_style]} tags to {MetaDataStyle.name[dest_style]} tags in {has_src_count} archive(s)?",
|
||||
f"Are you sure you wish to copy the {MetaDataStyle.name[src_style]}"
|
||||
+ f" tags to {MetaDataStyle.name[dest_style]} tags in {has_src_count} archive(s)?",
|
||||
QtWidgets.QMessageBox.StandardButton.Yes,
|
||||
QtWidgets.QMessageBox.StandardButton.No,
|
||||
)
|
||||
@ -1837,8 +1838,9 @@ class TaggerWindow(QtWidgets.QMainWindow):
|
||||
self,
|
||||
self.config[0],
|
||||
(
|
||||
f"You have selected {len(ca_list)} archive(s) to automatically identify and write {MetaDataStyle.name[style]} tags to."
|
||||
"\n\nPlease choose config below, and select OK to Auto-Tag."
|
||||
f"You have selected {len(ca_list)} archive(s) to automatically identify and write "
|
||||
+ MetaDataStyle.name[style]
|
||||
+ " tags to.\n\nPlease choose config below, and select OK to Auto-Tag."
|
||||
),
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user