Updated for typing

This commit is contained in:
Dimitris Zlatanidis 2023-05-23 21:35:49 +03:00
parent d096fbb4f2
commit 2e2ad6eaa1

View file

@ -212,7 +212,7 @@ class NewConfigs:
if self.rules_config_new.is_file():
self.prompt_rules_config()
def prompt_slpkg_config(self):
def prompt_slpkg_config(self) -> None:
make: str = input(f'{self.bgreen}{self.slpkg_config_new}{self.endc} - '
f'({self.byellow}K{self.endc}/{self.byellow}O{self.endc}/'
f'{self.byellow}R{self.endc}/{self.byellow}D{self.endc}/'
@ -232,7 +232,7 @@ class NewConfigs:
if make.lower() == 'v':
self.vimdiff(self.slpkg_config_new, self.slpkg_config)
def prompt_repositories_config(self):
def prompt_repositories_config(self) -> None:
make: str = input(f'{self.bgreen}{self.repositories_config_new}{self.endc} - '
f'({self.byellow}K{self.endc}/{self.byellow}O{self.endc}/'
f'{self.byellow}R{self.endc}/{self.byellow}D{self.endc}/'
@ -252,7 +252,7 @@ class NewConfigs:
if make.lower() == 'v':
self.vimdiff(self.repositories_config_new, self.repositories_config)
def prompt_blacklist_config(self):
def prompt_blacklist_config(self) -> None:
make: str = input(f'{self.bgreen}{self.blacklist_config_new}{self.endc} - '
f'({self.byellow}K{self.endc}/{self.byellow}O{self.endc}/'
f'{self.byellow}R{self.endc}/{self.byellow}D{self.endc}/'
@ -272,7 +272,7 @@ class NewConfigs:
if make.lower() == 'v':
self.vimdiff(self.blacklist_config_new, self.blacklist_config)
def prompt_rules_config(self):
def prompt_rules_config(self) -> None:
make: str = input(f'{self.bgreen}{self.rules_config_new}{self.endc} - '
f'({self.byellow}K{self.endc}/{self.byellow}O{self.endc}/'
f'{self.byellow}R{self.endc}/{self.byellow}D{self.endc}/'