Fixed D401

This commit is contained in:
Dimitris Zlatanidis 2024-05-22 17:28:31 +03:00
parent f328aaa52f
commit f62e2823f8

View file

@ -24,7 +24,7 @@ class FormConfigs(Configs):
self.config_file: Path = Path(self.etc_path, f'{self.prog_name}.toml')
def is_dialog_enabled(self) -> None:
"""Checking if the dialog box is enabled by the user."""
"""Check if the dialog box is enabled by the user."""
if not self.dialog:
self.errors.raise_error_message(f"You should enable the dialog in the "
f"'{self.etc_path}/{self.prog_name}.toml' file", exit_status=1)