mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Updated for typing
This commit is contained in:
parent
d096fbb4f2
commit
2e2ad6eaa1
1 changed files with 4 additions and 4 deletions
|
@ -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}/'
|
||||
|
|
Loading…
Reference in a new issue