mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Fixed for mypy errors
This commit is contained in:
parent
9ce69f29d0
commit
a0f7259241
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# mypy: disable-error-code="no-redef"
|
||||
|
||||
from typing import Generator
|
||||
from slpkg.configs import Configs
|
||||
from slpkg.utilities import Utilities
|
||||
|
@ -50,8 +52,8 @@ class Dependees(Configs):
|
|||
yield name, data['requires']
|
||||
|
||||
def view_the_title(self) -> None:
|
||||
print(f"The list below shows the packages that dependees on:\n")
|
||||
self.packages: tuple = tuple(self.utils.apply_package_pattern(self.data, self.packages))
|
||||
print('The list below shows the packages that dependees on:\n')
|
||||
self.packages: list = self.utils.apply_package_pattern(self.data, self.packages)
|
||||
|
||||
def view_no_dependees(self, dependees: dict) -> None:
|
||||
if not dependees:
|
||||
|
|
Loading…
Add table
Reference in a new issue